Add support for passing options into the reader