Checkpointing document changes.