handle case when xref stream length is indirect object
Cache the last xref
Cache PDF objects
Unbreak examples