Refactored how checksums are computed.