      *  Remove an instance of a dynamic part. This method must be called before a dynamic part is
      *  deleted. This method does not remove the part from the display list.
      */
-    protected function removePartInstance(partName:String, instance:*):void
+    protected function removePartInstance(partName:String, instance:Object):void
     {
         // Send notification
         partRemoved(partName, instance);

     *  by this method, rather than directly calling newInstance() on the factory.
     *  This method creates the part, but does not add it to the display list.
     */
    protected function createPartInstance(partName:String):*
    {
        var factory:IFactory = this[partName];
        

    /**
     *  Returns a specific instance of a dynamic part.
     */
    protected function getDynamicPartAt(partName:String, index:int):Object
    {
        if (dynamicPartsCache && dynamicPartsCache[partName])
            return dynamicPartsCache[partName][index];
