Simplifying the checksum code.