             clearMenu(_nativeMenu);
 
             // make top level items
-            if (mx_internal::_rootModel)
+            if (_rootModel)
             {
                 if (!tmpCollection)
-                    tmpCollection = mx_internal::_rootModel;
+                    tmpCollection = _rootModel;
                 // not really a default handler, but we need to
                 // be later than the wrapper
                 tmpCollection.addEventListener(CollectionEvent.COLLECTION_CHANGE,

     */
    public function set dataProvider(value:Object):void
    {
        if (mx_internal::_rootModel)
        {
            mx_internal::_rootModel.removeEventListener(CollectionEvent.COLLECTION_CHANGE,
                                           collectionChangeHandler);
        }


            nativeMenuItem.checked = type == "check" && dataDescriptor.isToggled(data);
            
            // data
            nativeMenuItem.data = dataDescriptor.getData(data, _rootModel);
            
            // key equivalent
            nativeMenuItem.keyEquivalent = itemToKeyEquivalent(data);
