diff --git a/leksah-server.cabal b/leksah-server.cabal
--- a/leksah-server.cabal
+++ b/leksah-server.cabal
@@ -1,5 +1,5 @@
 name: leksah-server
-version: 0.14.3.1
+version: 0.14.3.2
 cabal-version: >= 1.10.2
 build-type: Simple
 license: GPL
@@ -41,7 +41,7 @@
                transformers >=0.2.2.0 && <0.5, strict >=0.3.2 && <0.4, text >=0.11.3.1 && <1.3,
                HTTP >=4000.1.2 && <4000.3
     if (impl(ghc >= 7.8))
-       build-depends: haddock >= 2.7.2 && <2.15
+       build-depends: haddock-api >= 2.7.2 && <2.16
     else
       if (impl(ghc >= 7.6))
          build-depends: haddock >= 2.7.2 && <2.14
@@ -104,7 +104,7 @@
                transformers >=0.2.2.0 && <0.5, strict >=0.3.2 && <0.4, text >=0.11.3.1 && <1.3,
                HTTP >=4000.1.2 && <4000.3
     if (impl(ghc >= 7.8))
-       build-depends: haddock >= 2.7.2 && <2.15
+       build-depends: haddock-api >= 2.7.2 && <2.16
     else
       if (impl(ghc >= 7.6))
          build-depends: haddock >= 2.7.2 && <2.14
@@ -194,7 +194,7 @@
     hs-source-dirs: tests
     main-is:    TestTool.hs
     build-depends: base >= 4.0.0.0 && <4.8,  hslogger >= 1.0.7 && <1.3,
-               leksah-server == 0.14.3.1,
+               leksah-server == 0.14.3.2,
                HUnit >=1.2 && <1.3, transformers >=0.2.2.0 && <0.5, conduit >= 1.0.8 && <1.3,
                conduit-extra >=1.0.0.1 && <1.2, resourcet
 
diff --git a/src/IDE/Metainfo/SourceCollectorH.hs b/src/IDE/Metainfo/SourceCollectorH.hs
--- a/src/IDE/Metainfo/SourceCollectorH.hs
+++ b/src/IDE/Metainfo/SourceCollectorH.hs
@@ -82,10 +82,7 @@
 import qualified Data.Text as T (unpack, pack)
 import Data.Monoid ((<>))
 
-#ifdef MIN_VERSION_haddock_leksah
-#else
-type HsDoc = Doc
-#endif
+type HsDoc a = Doc a
 
 type NDoc  = HsDoc Name
 
@@ -150,11 +147,7 @@
             return (Nothing, PackageCollectStats packageName Nothing False False
                                             (Just ("Ghc failed to process: " <> T.pack (show e) <> " (" <> T.pack cabalPath <> ")")))
         inner ghcFlags = inGhcIO ghcFlags [Opt_Haddock] $ \ dflags -> do
-#if MIN_VERSION_haddock(2,8,0)
             (interfaces,_) <- processModules verbose (exportedMods ++ hiddenMods) [] []
-#else
-            (interfaces,_) <- createInterfaces verbose (exportedMods ++ hiddenMods) [] []
-#endif
             liftIO $ print (length interfaces)
             let mods = map (interfaceToModuleDescr dflags dirPath (getThisPackage packageConfig)) interfaces
             sp <- liftIO $ myCanonicalizePath dirPath
@@ -196,13 +189,8 @@
                         (ifaceInstances interface) [] --(ifaceLocals interface)
         imports    = Map.empty --TODO
 
-#if MIN_VERSION_haddock(2,11,0)
 getDoc :: Documentation Name -> Maybe NDoc
 getDoc = documentationDoc
-#else
-getDoc :: Maybe NDoc -> Maybe NDoc
-getDoc = id
-#endif
 
 #if MIN_VERSION_ghc(7,4,1)
 type DeclInfo = [LHsDecl Name]
