             if (addedParentStyleToProtoChain)
             {
                 // There are parent styles so create an empty node.
-                var emptyObjectFactory:Function = function():void
-                {
-                };
                 emptyObjectFactory.prototype = chain;
                 chain = new emptyObjectFactory();
                 emptyObjectFactory.prototype = null;

     *  @private
     */
    private static const FILTERMAP_PROP:String = "__reserved__filterMap";
        
    //--------------------------------------------------------------------------
    //

            // of the chain.
            if (factory == null)
            {
                emptyObjectFactory.prototype = chain;
                chain = new emptyObjectFactory();
                emptyObjectFactory.prototype = null;
