Cleanup some template files