There is a redundant function for returning arity in Set class. Additionally, it might have non-uniform names in different classes.