*cursor.to_begin() becomes *cursor (allowing more efficient cursor and algorithm implementations). Still quite a bit of cleanup ahead.