toVector() should have been toSet() + add toImmSet()

Fixes #204