Why removing the undoLog? I do not see the reason.