The first version of the TemplateParser.