diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,2 +0,0 @@
-import Distribution.Simple
-main = defaultMain
diff --git a/generator/xcffibgen.hs b/generator/xcffibgen.hs
--- a/generator/xcffibgen.hs
+++ b/generator/xcffibgen.hs
@@ -16,7 +16,6 @@
 module Main where
 
 
-import Data.Semigroup
 import Data.XCB.Types
 import Data.XCB.Python.Parse
 
diff --git a/xcffib.cabal b/xcffib.cabal
--- a/xcffib.cabal
+++ b/xcffib.cabal
@@ -1,5 +1,5 @@
 name:                xcffib
-version:             0.6.0
+version:             0.7.0
 synopsis:            A cffi-based python binding for X
 homepage:            http://github.com/tych0/xcffib
 license:             OtherLicense
@@ -26,7 +26,7 @@
 library
   build-depends: base ==4.*,
                  xcb-types >= 0.9.0,
-                 language-python >= 0.5.0,
+                 language-python >= 0.5.6,
                  filepath,
                  filemanip,
                  split,
@@ -45,9 +45,9 @@
   hs-source-dirs: generator
   build-depends: base ==4.*,
                  xcffib,
-                 language-python >= 0.5.0,
+                 language-python >= 0.5.6,
                  split,
-                 xcb-types >= 0.9.0,
+                 xcb-types >= 0.10.0,
                  optparse-applicative >= 0.13,
                  filepath,
                  filemanip,
@@ -58,6 +58,8 @@
                  bytestring,
                  semigroups,
                  either
+  other-modules: Data.XCB.Python.Parse,
+                 Data.XCB.Python.PyHelpers
   ghc-options: -Wall
 
 test-suite PyHelpersTests
@@ -66,7 +68,7 @@
   type: exitcode-stdio-1.0
   build-depends: base ==4.*,
                  xcffib,
-                 language-python >= 0.5.0,
+                 language-python >= 0.5.6,
                  HUnit,
                  test-framework,
                  test-framework-hunit
@@ -77,8 +79,8 @@
   type: exitcode-stdio-1.0
   build-depends: base ==4.*,
                  xcffib,
-                 xcb-types >= 0.9.0,
-                 language-python >= 0.5.0,
+                 xcb-types >= 0.10.0,
+                 language-python >= 0.5.6,
                  HUnit,
                  test-framework,
                  test-framework-hunit,
