Worker factory options

This should resolve issue #180.