Removes old debugging code