Cleanup debug code.