             if ((propertyName == null || propertyName == "mxmlContent") && (dest is IVisualElementContainer))
                 return IVisualElementContainer(dest).getElementIndex(object as IVisualElement);
             
-            if ((propertyName == null || propertyName == "controlBarContent") && (dest is IVisualElementContainer))
-                return IVisualElementContainer(dest)["controlBarGroup"].getElementIndex(object as IVisualElement);
-
             if (propertyName == null && dest is IChildList)
                 return IChildList(dest).getChildIndex(DisplayObject(object));
     

        for (var i:int = 0; i < items.length; i++)
            dest.addElementAt(items[i], startIndex + i);
    }
    
    /**
     *  @private
     */
    protected function addItemsToControlBar(dest:IVisualElementContainer, items:Array):void
    {
        dest = dest["controlBarGroup"];

        if (startIndex == -1)
            startIndex = dest.numElements;
        
        for (var i:int = 0; i < items.length; i++)
            dest.addElementAt(items[i], startIndex + i);
    }
    
    /**
     *  @private
     */

        {
            for (i = 0; i < numAdded; i++)
                IVisualElementContainer(dest).removeElementAt(startIndex);
        }
        else if (propertyName == null && dest is IChildList)
        {
