Added prototypes for PDF helper functions