Partial support for stats dumping.