Implemented safe entity model renaming.