Added --use-pdfs option.