Checkpoint

Boilerplate code for full implementation of recovery API.