Early stages of stats output.