Removes some debug code.