Bugfix use collection of sets, not dicts.