Debug output cleanup.