APIs for skipping state restoration for non-undo synchronization events