pass document as first argument to process method on Preprocessor