Remove statistics code