Here we would have to go back from set using toArray, so I'm leaving this as is.