Moving common information to a base class