Added support for custom validators.
release 0.0.3