Added custom validation example.