Implemented the checkpoint class.