Documentation for stats plugin interface