Adding and registering stats.