Added checksum validation.