Deprecated old renaming method.