added RemoveTemplates transform