UndoRedoRecorder type of action changed to Enum