Add support for conversion to PDF.