Add missing JSDoc annotations for _createPDF