Renames code references