diff --git a/gnuplot.cabal b/gnuplot.cabal
--- a/gnuplot.cabal
+++ b/gnuplot.cabal
@@ -1,5 +1,5 @@
 Name:             gnuplot
-Version:          0.5
+Version:          0.5.0.1
 License:          BSD3
 License-File:     LICENSE
 Author:           Henning Thielemann <haskell@henning-thielemann.de>
@@ -33,7 +33,8 @@
    you can switch to more convenient
    but probably less portable ways
    of feeding gnuplot with a script.
-Tested-With:       GHC==6.8.2, GHC==6.12.3, GHC==7.0.2
+Tested-With:       GHC==6.8.2, GHC==6.12.3
+Tested-With:       GHC==7.0.2, GHC==7.4.2, GHC==7.6.1
 Cabal-Version:     >=1.6
 Build-Type:        Simple
 Extra-Source-Files:
@@ -45,7 +46,7 @@
   data/runtime.data
 
 Source-Repository this
-  Tag:         0.5
+  Tag:         0.5.0.1
   Type:        darcs
   Location:    http://code.haskell.org/gnuplot/
 
@@ -75,7 +76,7 @@
 Library
   Build-Depends:
     array >= 0.1 && <0.5,
-    containers >= 0.1 && <0.5,
+    containers >= 0.1 && <0.6,
     utility-ht >= 0.0.1 && < 0.1,
     monoid-transformer >= 0.0.2 && <0.1
   If flag(splitBase)
diff --git a/src/Graphics/Gnuplot/Advanced.hs b/src/Graphics/Gnuplot/Advanced.hs
--- a/src/Graphics/Gnuplot/Advanced.hs
+++ b/src/Graphics/Gnuplot/Advanced.hs
@@ -80,7 +80,7 @@
 import qualified Graphics.Gnuplot.Execute as Exec
 
 import System.Exit (ExitCode, )
-import Data.Monoid (Monoid, ) -- for Haddock
+import Data.Monoid (Monoid, mempty, )
 import qualified Data.Monoid.State as State
 import Data.List (intersperse, )
 
@@ -116,3 +116,14 @@
    let (Terminal.Cons options commands) = Terminal.canonical term
    in  concat $ intersperse "; " $
           ("set terminal " ++ unwords options) : commands
+
+
+{-
+In the module introduction we refer to Monoid.
+That is we must import Monoid module in order to make Haddock happy.
+On the other hand we do not use Monoid in the module body,
+thus GHC emits a warning.
+This dummy declaration makes both GHC and Haddock happy.
+-}
+_haddockDummy :: Monoid a => a
+_haddockDummy = mempty
