Add statistics interface functions.