Cleaning up debugging output