Add stats analysis.