         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
      */

        {
            addItemsToContentHolder(dest as IVisualElementContainer, localItems);
        }
        else if (propertyName == "controlBarContent" && (dest is IVisualElementContainer))
        {
            addItemsToControlBar(dest as IVisualElementContainer, localItems);
        }
        else if (propertyName == null && dest is IChildList)
        {
            addItemsToContainer(dest as IChildList, localItems);

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