Implement validation example.