Receipts: Move pdf method to its proper location.