Removed unnecessary `extends` from `BagConfiguration` and subclasses