Implemented base statistic gathering.