Dead code elimination pass.
Use NSCache instead of NSMutableDictionary for thread safety.