Changes to support integration of DownloadPDFTask.