Arrays wrapper + first, flatten, intersect functions