             
             defaultFactory.prototype = chain;
             chain = new defaultFactory();
+            defaultFactory.prototype = null;
 
             if (filterMap)
                 chain = applyFilter(originalChain, chain, filterMap);

            objectFactory = new factory();
            factory.prototype = chain;
            chain = new factory();
        }
        
        // If someone has called setStyle() on this CSSStyleDeclaration,

        };
        filterObjectFactory.prototype = originalChain;
        filteredChain = new filterObjectFactory();
        filterObjectFactory.prototype = null;
        
        for (var i:String in chain)
        {
