public DocumentRef GetNewObjectRef() { object ptr = InvokeV8Method("GetNewObjectRef"); return ptr != null ? new DocumentRef(Session, ObjectTypeName, ptr) : null; }