Delete template cruft