Changed the TemplateCompiler API