Ripped off Liftwebs LRUMap.