diff --git a/GeoIp.cabal b/GeoIp.cabal
--- a/GeoIp.cabal
+++ b/GeoIp.cabal
@@ -1,18 +1,19 @@
 Name:		GeoIp
-Version:	0.2
+Version:	0.3
 License:	OtherLicense
-License-File: Copying
+License-File:	Copying
 Author:		Stephen Cook
-Maintainer: siti@orcon.net.nz
+Maintainer:	siti@orcon.net.nz
 category:	Network
 Synopsis:	Pure bindings for the MaxMind IP database.
 Stability:	alpha
-build-type: Simple
+build-type:	Simple
+Extra-Source-Files: examples/TestGeoIp.hs
 Description:
   GeoIp is a pure haskell binding to the MaxMind IP database.
   The IP database contains information such as the approximate
   longitude and latitude of an IP address.
-Cabal-Version: >= 1.2.1
+Cabal-Version:	>= 1.6.0
 
 Library {
   Exposed-modules:
@@ -20,5 +21,5 @@
   Other-modules:
     Network.GeoIp.GeoDB
   build-depends: base > 4.0, bytestring, bytestring-mmap, syb
-  ghc-options: -Wall -fglasgow-exts
+  ghc-options: -Wall
 }
diff --git a/Network/GeoIp/GeoCityIp.hs b/Network/GeoIp/GeoCityIp.hs
--- a/Network/GeoIp/GeoCityIp.hs
+++ b/Network/GeoIp/GeoCityIp.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE ExistentialQuantification #-}
 
 -- | This module loads the MaxMind's GeoIp City database.
 module Network.GeoIp.GeoCityIp (
diff --git a/Network/GeoIp/GeoDB.hs b/Network/GeoIp/GeoDB.hs
--- a/Network/GeoIp/GeoDB.hs
+++ b/Network/GeoIp/GeoDB.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE ExistentialQuantification,DeriveDataTypeable #-}
 module Network.GeoIp.GeoDB where
 
 import System.IO.Posix.MMap
