Removes debug function calls.