Moved common code into base.  Inherit from base.