Store protocols in set, not in array