Switch templates to global syntax