Template: cleanup