Checkpointing for cleanup and refactoring.
Checkpointing.