Added the ability to load PDFs.