diff --git a/Setup.lhs b/Setup.lhs
--- a/Setup.lhs
+++ b/Setup.lhs
@@ -1,6 +1,6 @@
-#!/usr/bin/runhaskell 
-> module Main where
-> import Distribution.Simple
-> main :: IO ()
-> main = defaultMain
-
+#!/usr/bin/runhaskell 
+> module Main where
+> import Distribution.Simple
+> main :: IO ()
+> main = defaultMain
+
diff --git a/Vec-Boolean.cabal b/Vec-Boolean.cabal
--- a/Vec-Boolean.cabal
+++ b/Vec-Boolean.cabal
@@ -1,48 +1,23 @@
-name: Vec-Boolean
-version: 1.0.3
-cabal-version: >=1.2.3
-build-type: Simple
-license: BSD3
-license-file: ""
-copyright: Tobias Bexelius
-maintainer: Tobias Bexelius
-build-depends: Boolean == 0.0.1, Vec == 0.9.7, base >= 4 && < 5
-stability:
-homepage:
-package-url:
-bug-reports: mailto:tobias_bexelius@hotmail.com
-synopsis: Provides Boolean instances for the Vec package
-description: This package adds instances for the classes IfB and EqB in the Boolean package for the fixed length list data type in the Vec package.
-             These intances are useful for example when using the GPipe package.
-category: Math, Data
-author: Tobias Bexelius
-tested-with:
-data-files:
-data-dir: ""
-extra-source-files:
-extra-tmp-files:
-exposed-modules: Data.Vec.Boolean
-exposed: True
-buildable: True
-build-tools:
-cpp-options:
-cc-options:
-ld-options:
-pkgconfig-depends:
-frameworks:
-c-sources:
-extensions: UndecidableInstances MultiParamTypeClasses
-            FlexibleInstances TypeOperators
-extra-libraries:
-extra-lib-dirs:
-includes:
-install-includes:
-include-dirs:
-hs-source-dirs: src
-other-modules:
-ghc-prof-options:
-ghc-shared-options:
-ghc-options:
-hugs-options:
-nhc98-options:
-jhc-options:
+name:                Vec-Boolean
+version:             1.0.4
+cabal-version:       >= 1.8
+build-type:          Simple
+license:             BSD3
+license-file:        ""
+copyright:           Tobias Bexelius
+maintainer:          Tobias Bexelius
+build-depends:       Boolean == 0.0.1, Vec == 0.9.7, base >= 4 && < 5
+synopsis:            Provides Boolean instances for the Vec package
+description:         This package adds instances for the classes IfB and EqB in the Boolean package for the fixed length list data type in the Vec package.
+             These intances are useful for example when using the GPipe package.
+category:            Math, Data
+author:              Tobias Bexelius
+library 
+  build-depends:   
+                   base >= 4 && <5,
+                   Vec == 0.9.8,
+                   Boolean == 0.0.1
+  hs-source-dirs:  src
+  ghc-options:     -Wall
+  exposed-modules: Data.Vec.Boolean
+
diff --git a/src/Data/Vec/Boolean.hs b/src/Data/Vec/Boolean.hs
--- a/src/Data/Vec/Boolean.hs
+++ b/src/Data/Vec/Boolean.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE TypeOperators, FlexibleInstances, MultiParamTypeClasses, UndecidableInstances #-}
 -----------------------------------------------------------------------------
 --
 -- Module      :  Data.Vec.Boolean
