Added counters allowing changing master sets.