Replace puredom.template with TemplateEngine.