Added the PDFGenerator class.