      *  @playerversion AIR 1.5
      *  @productversion Flex 4.5
      */
-    public function get numEntries():Number 
+    public function get numCacheEntries():int 
     {
         return cacheEntries.length; 
     }

     *  @playerversion AIR 1.5
     *  @productversion Flex 4.5
     */
    public function get maxEntries():Number 
    {
        return _maxEntries; 
    }
    
    /**
     *  @private
     */
    public function set maxEntries(value:Number):void
    {
        if (value != _maxEntries)
        {
            _maxEntries = value;
            enforceMaximumEntries();
        }
    }

    /**
     *  Remove specific entry from cache.
     * 
     *  @param source Unique key for value to remove from cache.
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4.5 
     */
    public function removeCacheEntry(source:Object):void
    {
        var key:Object = source is URLRequest ? URLRequest(source).url : source;
        var node:CacheEntryNode = cachedData[key];
        if (node)
        {
            cacheEntries.remove(node);
            delete cachedData[key];
        }
    }
    
    /**
     *  Adds new entry to cache (or replaces existing entry).
     * 
     *  @param source Unique key to associate provided value with in cache.
     *  @param value Value to cache for given key.
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4.5    
     */
    public function addCacheEntry(source:Object, value:Object):void
    {
        var key:Object = source is URLRequest ? URLRequest(source).url : source;
        var node:CacheEntryNode = cachedData[key];
		
        if (node)
            cacheEntries.remove(node);
        
        node = new CacheEntryNode(key, value);
        cachedData[source] = node;
        cacheEntries.unshift(node);
        enforceMaximumEntries();
