Added support of config options for the stats module.