Updated to use PDFs in examples.