Pass options into validation hook
Document in Readme