Template renaming