Updated the code so it makes use of the available functionality

The `helper/schema` package already knows how to create a set from a
slice with set items. So let’s use that functionality…