Cleanup Debug code.