Rename a method name.