PdfWriter renamed Static.doService to writePdf. Adds support
to pass a pdfWriteable that isn't mainContent.