Rename a class.