Allow document preprocessors to be specified in transformer options