Removing dependency on xhtml2pdf