Moved related things and other common items to the parent class.