PdfHandler extension