Updated documentation
Allow passing options to the validator