diff --git a/Yesod/Markdown.hs b/Yesod/Markdown.hs
--- a/Yesod/Markdown.hs
+++ b/Yesod/Markdown.hs
@@ -38,12 +38,15 @@
 #define HAMLET $hamlet
 #endif
 
-import Yesod
+import Yesod.Form (ToField(..), areq, aopt)
+import Yesod.Core (RenderMessage, SomeMessage(..))
 import Yesod.Form.Types
+import Yesod.Widget (addHamlet)
+import Text.Hamlet (hamlet, Html)
+import Database.Persist (PersistField)
 
 import Text.Blaze (preEscapedString, preEscapedText)
 import Text.Pandoc
-import Text.Pandoc.Shared
 import Text.HTML.SanitizeXSS (sanitizeBalance)
 
 import Data.Monoid      (Monoid)
diff --git a/yesod-markdown.cabal b/yesod-markdown.cabal
--- a/yesod-markdown.cabal
+++ b/yesod-markdown.cabal
@@ -1,5 +1,5 @@
 name:                yesod-markdown
-version:             0.3.2
+version:             0.3.3
 synopsis:            Tools for using markdown in a yesod application
 description:         A subset of pandoc functionality useful for markdown processing in yesod applications
 homepage:            http://github.com/pbrisbin/yesod-markdown
@@ -17,11 +17,13 @@
   build-depends: base            >= 4     && < 5
                , text            >= 0.11  && < 0.12
                , pandoc          >= 1.9   && < 1.10
-               , yesod           >= 0.10  && < 0.11
-               , yesod-form      >= 0.4   && < 0.5
                , blaze-html      >= 0.4   && < 0.5
                , xss-sanitize    >= 0.3.1 && < 0.4
                , directory
+               , yesod-core      >= 0.10  && < 0.11
+               , yesod-form      >= 0.4   && < 0.5
+               , hamlet
+               , persistent
 
   ghc-options: -Wall
   
