import ParcelCore extension State { var withoutUndoHistory: State { var result = self result.undoHistory = nil return result } }