Cleaning up debug code.