Fixes to documentation.

Doesn't change anything functionally even though the Stats class has
been introduced.