TemplateNormalizations: deduplicated the lowercase function