Add PDF generation support.