Extending pdfgen module to handle templates