Removed unused code for ProxyPyOutToNative.