Change return type of checksum_type::checksum