First cut of checkpointing.