diff --git a/Text/Pandoc/Lens.hs b/Text/Pandoc/Lens.hs
--- a/Text/Pandoc/Lens.hs
+++ b/Text/Pandoc/Lens.hs
@@ -297,17 +297,17 @@
 
 -- | A prism on a 'Link' 'Inline'
 _Link :: Prism' Inline ([Inline], Target)
-_Link = prism' (uncurry Link) f
+_Link = prism' (uncurry $ Link nullAttr) f
   where
-    f (Link a b) = Just (a, b)
-    f _          = Nothing
+    f (Link _ a b) = Just (a, b)
+    f _            = Nothing
 
 -- | A prism on a 'Image' 'Inline'
 _Image :: Prism' Inline ([Inline], Target)
-_Image = prism' (uncurry Image) f
+_Image = prism' (uncurry $ Image nullAttr) f
   where
-    f (Image a b) = Just (a, b)
-    f _           = Nothing
+    f (Image _ a b) = Just (a, b)
+    f _             = Nothing
 
 -- | A prism on a 'Note' 'Inline'
 _Note :: Prism' Inline [Block]
diff --git a/pandoc-lens.cabal b/pandoc-lens.cabal
--- a/pandoc-lens.cabal
+++ b/pandoc-lens.cabal
@@ -1,5 +1,5 @@
 name:                pandoc-lens
-version:             0.4.1
+version:             0.5
 synopsis:            Lenses for Pandoc documents
 description:         Lenses for Pandoc documents
 homepage:            http://github.com/bgamari/pandoc-lens
@@ -19,8 +19,8 @@
 library
   exposed-modules:     Text.Pandoc.Lens
   ghc-options:         -Wall -fno-warn-orphans
-  build-depends:       base >=4.7 && <4.9,
+  build-depends:       base >=4.7 && <4.10,
                        containers >=0.5 && <0.6,
-                       pandoc-types >=1.12 && <1.13,
-                       lens >=4.2 && <4.20
+                       pandoc-types >=1.16 && <1.17,
+                       lens >=4.2 && <4.14
   default-language:    Haskell2010
