Fix show statistics and delete unused methods.