Adds classes responsible for statistic collection.