Move the post-document text-parsing functions next to the pre-document one.