Does this not simplify to template: templateName?