Added class methods to cleanly generate user/group-based completion stats.