Really, should just change the `$literal` variable... It just looks like the RDF types weren't properly carried through when they were implemented (including changing the comments).