Throw better exception when missing OnInvokeMethod while generating proxy.
Set parameter names for proxied methods.
Throw better exception on unrecognized type name.