Put commonly used methods in new class "PdfUtilities"