Would it be possible to serialize the data so that the undo-redo sequences can be saved and reinitialized later?