Remove extraneous method from pdf.rb