moved TemplateEngine representer to the same place as other core representers