Refactor rename.