Added method visibility to DOMPDF class