Turned aggregators into case classes.