Base classes for abstraction of the Set