Cleanup of debug printing.