Final step of renaming.