process_pdf moved to PDFPage.process_pages