Removes debug code.