Renames a method