PDF: Minor code cleanup.