PDF::API2 redux