feature #1664: Add template renaming