Added support for custom validators.
release 0.1.1