Add classes for gathering and printing stats.