Support renaming targets.