Removed legacy code and added edit old while migrating.