Add array_intersect and array_unique functions