diff --git a/src/Text/PrettyPrint/Annotated/WL.hs b/src/Text/PrettyPrint/Annotated/WL.hs
--- a/src/Text/PrettyPrint/Annotated/WL.hs
+++ b/src/Text/PrettyPrint/Annotated/WL.hs
@@ -1079,6 +1079,8 @@
   go (SPushAnn a x) = push a <++> go x
   go (SPopAnn  a x) = pop  a <++> go x
   (<++>) = liftA2 mappend
+{-# SPECIALIZE displayDecoratedA :: Monoid o => (a -> Identity o) -> (a -> Identity o) -> (String -> Identity o) -> SimpleDoc a -> Identity o #-}
+{-# SPECIALIZE displayDecoratedA :: Monoid o => (a -> (o -> o)) -> (a -> (o -> o)) -> (String -> (o -> o)) -> SimpleDoc a -> (o -> o) #-}
 
 -- | Display a rendered document.
 --
diff --git a/wl-pprint-annotated.cabal b/wl-pprint-annotated.cabal
--- a/wl-pprint-annotated.cabal
+++ b/wl-pprint-annotated.cabal
@@ -4,7 +4,7 @@
 
 name:          wl-pprint-annotated
 category:      Text
-version:       0.0.1.3
+version:       0.0.1.4
 synopsis:      Wadler/Leijen pretty printer with annotations and slightly modernized API
 cabal-version: >= 1.10
 license:       BSD3
