Base class for examples