common: use 'set' internal type to ensure uniqueness