Add value validation.