Add an API for StatBooks