diff --git a/IHaskell/Display/Charts.hs b/IHaskell/Display/Charts.hs
--- a/IHaskell/Display/Charts.hs
+++ b/IHaskell/Display/Charts.hs
@@ -1,9 +1,7 @@
-{-# LANGUAGE NoImplicitPrelude, CPP #-}
+{-# LANGUAGE CPP #-}
 
 module IHaskell.Display.Charts () where
 
-import           ClassyPrelude
-
 import           System.Directory
 import           Data.Default.Class
 import           Graphics.Rendering.Chart.Renderable
@@ -39,7 +37,7 @@
   mkFile opts filename renderable
 
   -- Convert to base64.
-  imgData <- readFile filename
+  imgData <- fmap Char.pack $ readFile filename
   return $
     case format of
       PNG -> png width height $ base64 imgData
diff --git a/ihaskell-charts.cabal b/ihaskell-charts.cabal
--- a/ihaskell-charts.cabal
+++ b/ihaskell-charts.cabal
@@ -7,7 +7,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.2.1.0
+version:             0.3.0.0
 
 -- A short (one-line) description of the package.
 synopsis:            IHaskell display instances for charts types
@@ -59,7 +59,6 @@
              
   -- Other library packages from which modules are imported.
   build-depends:       base >=4.6 && <4.9,
-                       classy-prelude >=0.10.5,
                        bytestring,
                        data-default-class,
                        directory,
