Add an extractor for PBS (closes #870 and #873)