Adding method on NSArray.
Cleaning up new warnings from Xcode 6.