Cleaning template.