diff --git a/example/main.hs b/example/main.hs
--- a/example/main.hs
+++ b/example/main.hs
@@ -2,6 +2,9 @@
 {-# LANGUAGE DeriveGeneric              #-}
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE TypeOperators              #-}
+
+{-# OPTIONS_GHC -fno-warn-unused-binds #-}
+
 import           Data.Aeson
 import           GHC.Generics
 import           Network.Wai.Handler.Warp
diff --git a/servant-mock.cabal b/servant-mock.cabal
--- a/servant-mock.cabal
+++ b/servant-mock.cabal
@@ -1,5 +1,5 @@
 name:                servant-mock
-version:             0.7
+version:             0.7.1
 synopsis:            Derive a mock server for free from your servant API types
 description:
   Derive a mock server for free from your servant API types
@@ -27,14 +27,15 @@
     base >=4.7 && <5,
     bytestring >= 0.10 && <0.11,
     http-types >= 0.8 && <0.10,
-    servant >= 0.4,
-    servant-server >= 0.4,
-    transformers >= 0.3 && <0.5,
+    servant == 0.7.*,
+    servant-server == 0.7.*,
+    transformers >= 0.3 && <0.6,
     QuickCheck >= 2.7 && <2.9,
     wai >= 3.0 && <3.3
   hs-source-dirs:      src
   default-language:    Haskell2010
   include-dirs: include
+  ghc-options: -Wall
 
 executable mock-app
   main-is: main.hs
@@ -45,11 +46,11 @@
     buildable: True
   else
     buildable: False
+  ghc-options: -Wall
 
 test-suite spec
   type: exitcode-stdio-1.0
-  ghc-options:
-    -Wall -fno-warn-name-shadowing
+  ghc-options: -Wall
   default-language: Haskell2010
   hs-source-dirs: test
   main-is: Spec.hs
