PDFHost Constructor upgrade