Checkpointing builder code.