Removed TemplateEngine class