Support for GetyIdentitySnapshotPdf method, plus null-reference exception fix