Additional TemplateRegionParser refactoring.