Added 'document.pdf' as a parameter to the convenience methods