Use a base class.