Stage debug cleanup.