Added TrGlobals ofNative function. (not tested)