refactoring specification of options into the construction of the SAX object