Renaming hook