Implemented the snapshot handlers.