Simplify the stats malarky in the documentation library.