Added `dump_stats()` method to Stats objects.