public void Insert(string name, object value) { if (value is BaseObject) { value = (value as BaseObject).Ptr; } InvokeV8Method("Insert", name, value); }