Cleaning up summary i/o