Removes some debugging code