Allow null values when calculating hash.