Save custom entity name in undo information