Consistent types and error messages regarding checksum checking