withDocumentExtractor