Refactoring expense related things for subgroups.