Rename entities (REF #4022).