Added checksum check.