diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,13 @@
 # Changelog
 All notable changes to this project will be documented in this file.
 
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+
+## [0.3.0.1] - 2020-12-22
+### Changed
+- base dependecy updated to `base >=4.12 && <4.14`
+### Added
+- BindM type exposed
 
 ## [0.3.0.0] - 2020-05-01
 ### Changed
diff --git a/ejdb2-binding.cabal b/ejdb2-binding.cabal
--- a/ejdb2-binding.cabal
+++ b/ejdb2-binding.cabal
@@ -3,7 +3,7 @@
 category:            Database
 description:         Binding to EJDB2 C library, an embedded JSON noSQL database. Package requires libejdb2 to build. Please see the README on GitHub at <https://github.com/cescobaz/ejdb2haskell#readme>
 synopsis:            Binding to EJDB2 C library, an embedded JSON noSQL database
-version:             0.3.0.0
+version:             0.3.0.1
 license:             MIT
 license-file:        LICENSE
 homepage:            https://github.com/cescobaz/ejdb2haskell#readme
@@ -38,7 +38,7 @@
                      , Database.EJDB2.Bindings.Types.EJDB
                      , Database.EJDB2.Bindings.Types.EJDBExec
                      , Database.EJDB2.Bindings.Types.EJDBDoc
-  build-depends:       base ^>=4.12.0.0
+  build-depends:       base >=4.12 && <4.14
                      , bytestring ^>=0.10.10.0
                      , aeson ^>=1.4.6.0
                      , unordered-containers ^>=0.2.10.0
@@ -65,7 +65,7 @@
                        IndexTests
                        OnlineBackupTests
                        FoldTests
-  build-depends:       base ^>=4.12.0.0
+  build-depends:       base >=4.12 && <4.14
                      , tasty ^>=1.2.3
                      , tasty-hunit ^>=0.10.0.2
                      , aeson ^>=1.4.6.0
diff --git a/src/Database/EJDB2.hs b/src/Database/EJDB2.hs
--- a/src/Database/EJDB2.hs
+++ b/src/Database/EJDB2.hs
@@ -32,6 +32,7 @@
     , onlineBackup
     , fold
     , Query(..)
+    , BindM
     , noBind
     , setBool
     , setBoolAtIndex
diff --git a/src/Database/EJDB2/Query.hs b/src/Database/EJDB2/Query.hs
--- a/src/Database/EJDB2/Query.hs
+++ b/src/Database/EJDB2/Query.hs
@@ -21,7 +21,6 @@
 import           Control.Monad.State.Lazy
 
 import qualified Data.Bool                   as Bool
-import           Data.IORef
 import           Data.Int
 
 import           Database.EJDB2.Bindings.JQL
@@ -30,7 +29,6 @@
 import           Foreign
 import           Foreign.C.String
 import           Foreign.C.Types
-import           Foreign.Marshal.Alloc
 
 -- | Query data with binding. Collection must be specified in query.
 data Query a = Query String -- ^ Query text with collection
@@ -42,11 +40,12 @@
 type BindM a = StateT BindState IO a
 
 bind :: BindM a -> BindState -> IO BindState
-bind bindM state = execStateT bindM state
+bind = execStateT
 
 getJQL :: BindM JQL
 getJQL = get >>= \(BindState jql _) -> return jql
 
+-- | Create empty bind
 noBind :: BindM ()
 noBind = return ()
 
