Created a ParsedContents factory for easier reuse in controllers.