Added statistics-gathering API call.