Added support to statistics.