Pass an immutable pointer to the private in NewProxyObject.
Make GetProtoOrIfaceArray return the actual type.