Minor improvements to statistics.