Pass an immutable pointer to the private in NewProxyObject.