Added embeded class in PDF generation