Change a method's name and deprecated old