Cleaning templates