Update API for statistics.
Bump version.