Refactored statistics.