More explicit dependency injection for stats classes.