Corrected NSMutableArray to NSArray, because it is not used as mutable.