diff --git a/bson-generic.cabal b/bson-generic.cabal
--- a/bson-generic.cabal
+++ b/bson-generic.cabal
@@ -1,5 +1,5 @@
 Name:                bson-generic
-Version:             0.0.5
+Version:             0.0.5.1
 Synopsis:            Generic functionality for BSON
 Description:         This package offers easy conversion from and to BSON data type for most of user defined data types.
 License:             BSD3
diff --git a/src/Data/Bson/Generic.hs b/src/Data/Bson/Generic.hs
--- a/src/Data/Bson/Generic.hs
+++ b/src/Data/Bson/Generic.hs
@@ -8,6 +8,7 @@
 {-# LANGUAGE DeriveDataTypeable     #-}
 {-# LANGUAGE MultiParamTypeClasses  #-}
 {-# LANGUAGE ScopedTypeVariables    #-}
+{-# LANGUAGE OverlappingInstances   #-}
 
 ------------------------------------------------------------------------------
 -- | Examples
