Make renaming of commands persistant. Closes GH-789.