Checkpointing API