Rewrote/refactored much of the new PDF object framework.