Deterministic and stochastic epidemics with several kinds of susceptibles