diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
 For the latest version of this document, please see
 [https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md](https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md).
 
+## 0.5.0.2
+
+Improve links in the haddock documentation. There are no code changes.
+
 ## 0.5.0.1
 
 Support text 2.0.
diff --git a/ihaskell-hvega.cabal b/ihaskell-hvega.cabal
--- a/ihaskell-hvega.cabal
+++ b/ihaskell-hvega.cabal
@@ -1,5 +1,5 @@
 name:                ihaskell-hvega
-version:             0.5.0.1
+version:             0.5.0.2
 synopsis:            IHaskell display instance for hvega types.
 description:         Support Vega-Lite visualizations in IHaskell notebooks.
 homepage:            https://github.com/DougBurke/hvega
diff --git a/src/IHaskell/Display/Hvega.hs b/src/IHaskell/Display/Hvega.hs
--- a/src/IHaskell/Display/Hvega.hs
+++ b/src/IHaskell/Display/Hvega.hs
@@ -26,18 +26,18 @@
 
 import Graphics.Vega.VegaLite
 
-vl1 = 'toVegaLite' ['description' desc, 'background' "white", 'dat' [], 'mark' 'Bar' 'barOpts', 'enc' []] where
+vl1 = 'Graphics.Vega.VegaLite.toVegaLite' ['Graphics.Vega.VegaLite.description' desc, 'Graphics.Vega.VegaLite.background' "white", dat [], 'Graphics.Vega.VegaLite.mark' 'Graphics.Vega.VegaLite.Bar' barOpts, enc []] where
     desc = "A very exciting bar chart"
 
-    dat = 'dataFromRows' ['Parse' [("start", 'FoDate' "%Y-%m-%d")]]
-          . 'dataRow' [("start", 'Str' "2011-03-25"), ("count", 'Number' 23)]
+    dat = 'Graphics.Vega.VegaLite.dataFromRows' ['Graphics.Vega.VegaLite.Parse' [("start", 'Graphics.Vega.VegaLite.FoDate' "%Y-%m-%d")]]
+          . 'Graphics.Vega.VegaLite.dataRow' [("start", 'Graphics.Vega.VegaLite.Str' "2011-03-25"), ("count", 'Graphics.Vega.VegaLite.Number' 23)]
           . dataRow [("start", Str "2011-04-02"), ("count", Number 45)]
           . dataRow [("start", Str "2011-04-12"), ("count", Number 3)]
 
-    barOpts = ['MOpacity' 0.4, 'MColor' "teal"]
+    barOpts = ['Graphics.Vega.VegaLite.MOpacity' 0.4, 'Graphics.Vega.VegaLite.MColor' "teal"]
 
-    enc = 'encoding'
-          . 'position' 'X' ['PName' "start", 'PmType' 'Temporal', 'PAxis' ['AxTitle' "Inception date"]]
+    enc = 'Graphics.Vega.VegaLite.encoding'
+          . 'Graphics.Vega.VegaLite.position' 'Graphics.Vega.VegaLite.X' ['Graphics.Vega.VegaLite.PName' "start", 'Graphics.Vega.VegaLite.PmType' 'Graphics.Vega.VegaLite.Temporal', 'Graphics.Vega.VegaLite.PAxis' ['Graphics.Vega.VegaLite.AxTitle' "Inception date"]]
           . position Y [PName "count", PmType Quantitative]
 @
 
@@ -45,7 +45,7 @@
 
 > vlShow vl1
 
-where @vlShow@ should be imported automatically by IHaskell.
+where 'vlShow' should be imported automatically by IHaskell.
 -}
 
 module IHaskell.Display.Hvega (vlShow, VegaLiteLab) where
@@ -72,7 +72,7 @@
 --   to the @vegaEmbed@ call.
 --
 --   Note that local file access is __not__ guaranteed to work - e.g.
---   @dataFromUrl@ where the file name refers to a local file -
+--   'Graphics.Vega.VegaLite.dataFromUrl' where the file name refers to a local file -
 --   since the JavaScript @fs@ module may not be loaded.
 --
 instance IHaskellDisplay VegaLite where
@@ -133,7 +133,7 @@
 --   a Jupyter notebook.
 --
 --   Note that local file access is __not__ guaranteed to work - e.g.
---   @dataFromUrl@ where the file name refers to a local file -
+--   'Graphics.Vega.VegaLite.dataFromUrl' where the file name refers to a local file -
 --   since the JavaScript @fs@ module may not be loaded.
 --
 --   It would be nice to create a PNG version for non-browser viewers,
