diff --git a/examples/Makefile b/examples/Makefile
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,5 +1,5 @@
 GHC = ghc
-GHCFLAGS = -O2 -package haxr -fallow-overlapping-instances
+GHCFLAGS = -O2 -package haxr -XOverlappingInstances
 
 TEST_PROGS = make-stubs parse_response \
              person_server person_client raw_call \
diff --git a/examples/raw_call.hs b/examples/raw_call.hs
--- a/examples/raw_call.hs
+++ b/examples/raw_call.hs
@@ -2,10 +2,11 @@
 -- server and prints the response to standard output. Must be editied 
 -- to use the right server URL.
 
-import System (getArgs, exitFailure)
-import IO (hPutStrLn, stderr)
 import Data.Char
 import Network.URI
+import System.Environment (getArgs)
+import System.Exit (exitFailure)
+import System.IO (hPutStrLn, stderr)
 
 import Network.XmlRpc.Internals
 import Network.HTTP
diff --git a/examples/test_client.hs b/examples/test_client.hs
--- a/examples/test_client.hs
+++ b/examples/test_client.hs
@@ -1,8 +1,9 @@
 -- A simple client that calls the methods in test_server.hs
 
-import System (getArgs, exitFailure)
-import IO (hPutStrLn, stderr)
-import Time
+import System.Environment (getArgs)
+import System.Exit (exitFailure)
+import System.IO (hPutStrLn, stderr)
+import System.Time
 
 import Network.XmlRpc.Client
 
diff --git a/examples/test_server.hs b/examples/test_server.hs
--- a/examples/test_server.hs
+++ b/examples/test_server.hs
@@ -1,6 +1,6 @@
 -- A simple server
 
-import Time
+import System.Time
 import Network.XmlRpc.Server
 
 add :: Int -> Int -> IO Int
diff --git a/haxr.cabal b/haxr.cabal
--- a/haxr.cabal
+++ b/haxr.cabal
@@ -1,5 +1,5 @@
 Name: haxr
-Version: 3000.9
+Version: 3000.9.0.1
 Cabal-version: >=1.6
 Build-type: Simple
 Copyright: Bjorn Bringert, 2003-2006
