Added accessor and mutator methods to baseClass.