diff --git a/FerryCore.cabal b/FerryCore.cabal
--- a/FerryCore.cabal
+++ b/FerryCore.cabal
@@ -1,6 +1,6 @@
 cabal-version: >=1.8
 Name:           FerryCore
-Version:        0.4.6.1
+Version:        0.4.6.4
 category:       Database
 Synopsis:       Ferry Core Components
 Description:    The Ferry 2.0 Core
@@ -26,7 +26,7 @@
 Build-Type:     Simple
 library
     buildable:        True
-    build-depends:    TableAlgebra >= 0.6.1, base >= 4.2 && < 5, HaXml >= 1.20.2, pretty >= 1.0.1.1, parsec >= 2.1.0.1, mtl >= 2.0.1.0, containers >= 0.3.0.0, haskell98 >= 1.0.1.1, template-haskell >= 2.4.0.0
+    build-depends:    TableAlgebra >= 0.7.1, base >= 4.2 && < 5, HaXml >= 1.22, pretty >= 1.0.1.1, parsec >= 2.1.0.1, mtl >= 2.0.1.0, containers >= 0.3.0.0, template-haskell >= 2.4.0.0
     exposed-modules:  Database.Ferry.Syntax
                       Database.Ferry.Compiler
                       Database.Ferry.SyntaxTyped
diff --git a/src/Database/Ferry/TypedCore/Data/Instances.hs b/src/Database/Ferry/TypedCore/Data/Instances.hs
--- a/src/Database/Ferry/TypedCore/Data/Instances.hs
+++ b/src/Database/Ferry/TypedCore/Data/Instances.hs
@@ -1,5 +1,5 @@
 {- | Some typeclass instances belonging to the datatypes associated with typed core -}
-{-# LANGUAGE TypeSynonymInstances #-}
+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
 module Database.Ferry.TypedCore.Data.Instances where
     
 import Database.Ferry.TypedCore.Data.Type
diff --git a/src/Database/Ferry/TypedCore/Render/Pretty.hs b/src/Database/Ferry/TypedCore/Render/Pretty.hs
--- a/src/Database/Ferry/TypedCore/Render/Pretty.hs
+++ b/src/Database/Ferry/TypedCore/Render/Pretty.hs
@@ -2,7 +2,7 @@
 {-# LANGUAGE FlexibleInstances #-}
 module Database.Ferry.TypedCore.Render.Pretty where
 
-import Char    
+import Data.Char
 import Database.Ferry.Common.Render.Pretty
 import Database.Ferry.TypedCore.Data.Type
 
