Added deleteCheckpoint() function.