Debug cleanup.