I think this would be better implemented with the array argument first, to match the style of other underscore functions.