Adding the treatment for naturals and INT_S and ID_S sorts.