expose stats functions at the package level