Removes special case for root.