diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,14 +1,19 @@
 # Changelog for password-instances
 
+## 0.3.0.1
+
+-   Small fix to make sure the doctests build with stack.
+    [#3](https://github.com/cdepillabout/password/pull/3)
+
 ## 0.3.0.0
 
-- Added instance for `PersistFieldSql` for `PassHash`.
+-   Added instance for `PersistFieldSql` for `PassHash`.
 
 ## 0.2.0.0
 
-- Added instance for `PersistField` for `PassHash`.
+-   Added instance for `PersistField` for `PassHash`.
 
 ## 0.1.0.0
 
-- Initial version.
+-   Initial version.
 
diff --git a/password-instances.cabal b/password-instances.cabal
--- a/password-instances.cabal
+++ b/password-instances.cabal
@@ -1,7 +1,7 @@
 cabal-version: 1.12
 
 name:           password-instances
-version:        0.3.0.0
+version:        0.3.0.1
 category:       Data
 synopsis:       typeclass instances for password package
 description:    A library providing typeclass instances for common libraries for the types from the password package.
diff --git a/src/Data/Password/Instances.hs b/src/Data/Password/Instances.hs
--- a/src/Data/Password/Instances.hs
+++ b/src/Data/Password/Instances.hs
@@ -54,7 +54,6 @@
 -- Import needed functions.
 --
 -- >>> import Data.Aeson (decode)
--- >>> import Data.Text (Text)
 -- >>> import Database.Persist.Class (PersistField(toPersistValue))
 -- >>> import Web.HttpApiData (parseUrlPiece)
 
@@ -76,7 +75,7 @@
 -- | This instance allows a 'Pass' to be created with functions like
 -- 'Web.HttpApiData.parseUrlPiece' or 'Web.HttpApiData.parseQueryParam'.
 --
--- >>> let eitherPass = parseUrlPiece "foobar" :: Either Text Pass
+-- >>> let eitherPass = parseUrlPiece "foobar"
 -- >>> fmap unsafeShowPassword eitherPass
 -- Right "foobar"
 deriving newtype instance FromHttpApiData Pass
