Check for null values.