public override object function(IRTSEngine engine, object target, string funcname, object[] args) { object ret; if (Ref.CallMethod(target, funcname, args, out ret)) { return(ret); } else { return(base.function(engine, target, funcname, args)); } }