Added views_pdf and patch