Removes debug logic.