diff --git a/IHaskell/Display/Plot.hs b/IHaskell/Display/Plot.hs
--- a/IHaskell/Display/Plot.hs
+++ b/IHaskell/Display/Plot.hs
@@ -28,7 +28,7 @@
   writeFigure format fname (w, h) figure
 
   -- Read back, and convert to base64.
-  imgData <- Char.pack <$> readFile fname
+  imgData <- Char.readFile fname
   let value =
         case format of
           PNG -> png w h $ base64 imgData
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,2 +1,3 @@
-import Distribution.Simple
+import           Distribution.Simple
+
 main = defaultMain
diff --git a/ihaskell-plot.cabal b/ihaskell-plot.cabal
--- a/ihaskell-plot.cabal
+++ b/ihaskell-plot.cabal
@@ -7,7 +7,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.3.0.0
+version:             0.3.0.1
 
 -- A short (one-line) description of the package.
 synopsis:            IHaskell display instance for Plot (from plot package)
@@ -52,15 +52,12 @@
   
   -- Modules included in this library but not exported.
   -- other-modules:       
-  
-  -- Language extensions.
-  default-extensions: DoAndIfThenElse
-              OverloadedStrings
              
   -- Other library packages from which modules are imported.
-  build-depends:       base >=4.6 && <4.9,
+  build-depends:       base >=4.6 && <5,
                        plot,
                        bytestring,
+                       hmatrix >= 0.10,
                        ihaskell >= 0.6.2
   
   -- Directories containing source files.
