Work on refatoring the finalize method, re-compiling how the Document object compiles the PDF objects