Document the helper functions in the msgenparser
(generated version of the previous commit)