Added skeleton registerStatistic function