Pdf project instance refactor