Change repository statistics api to use new parser. Update docs.