Restore modifications which have been deleted by refactoring