Almost done debugging rewritten paideia_stats module.