Added custom validation.