Added user-defined validation to front end (#70).