There are type safety warnings at using containsInAnyOrder, will fix them while merging.