diff --git a/language-dot.cabal b/language-dot.cabal
--- a/language-dot.cabal
+++ b/language-dot.cabal
@@ -1,5 +1,5 @@
 name:         language-dot
-version:      0.0.4
+version:      0.0.5
 category:     Language
 synopsis:     A library for the analysis and creation of Graphviz DOT files
 description:  A library for the analysis and creation of Graphviz DOT files.
diff --git a/src/Language/Dot/Parser.hs b/src/Language/Dot/Parser.hs
--- a/src/Language/Dot/Parser.hs
+++ b/src/Language/Dot/Parser.hs
@@ -27,9 +27,12 @@
 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
-parseDot :: String -> String -> Either ParseError Graph
-parseDot source =
-    parse (whiteSpace' >> parseGraph) source . preprocess
+parseDot
+  :: String  -- ^ origin of the data, e.g., the name of a file
+  -> String  -- ^ DOT source code
+  -> Either ParseError Graph
+parseDot origin =
+    parse (whiteSpace' >> parseGraph) origin . preprocess
 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
