Sample_pdf was added.