Removes debug calls