Data validation.