Add TemplateGenerator that calls Template