Basic support for automatically wrapping a managed delegate with a JSNative