By doing this you are returning an immutable set if there are no processors, but a mutable one if there is some. Why that different behavior? I'd just remove this line, as the `transform` below will already do nothing if the processors set is empty.