diff --git a/apiary-cookie.cabal b/apiary-cookie.cabal
--- a/apiary-cookie.cabal
+++ b/apiary-cookie.cabal
@@ -1,5 +1,5 @@
 name:                apiary-cookie
-version:             0.8.0.0
+version:             0.9.0.0
 synopsis:            Cookie support for apiary web framework.
 description:
   example: <https://github.com/philopon/apiary/blob/master/examples/auth.hs>
@@ -22,10 +22,9 @@
   other-extensions:    
   build-depends:       base               >=4.6   && <4.8
                      , bytestring         >=0.10  && <0.11
-                     , apiary             >=0.8   && <0.9
+                     , apiary             >=0.9   && <0.10
                      , cookie             >=0.4   && <0.5
                      , blaze-builder      >=0.3   && <0.4
-                     , wai                >=2.1   && <2.2
                      , tagged             >=0.7   && <0.8
                      , time               >=1.4   && <1.5
 
diff --git a/src/Web/Apiary/Cookie/Internal.hs b/src/Web/Apiary/Cookie/Internal.hs
--- a/src/Web/Apiary/Cookie/Internal.hs
+++ b/src/Web/Apiary/Cookie/Internal.hs
@@ -9,7 +9,7 @@
 
 module Web.Apiary.Cookie.Internal where
 
-import Network.Wai
+import Web.Apiary.Wai
 import Web.Apiary
 import Web.Cookie
 import Data.Maybe
