Added the custom validators feature (see #29)