The disease historian William McNeill hypothesizes that these highly localized immune behaviors contributed to the development of the caste system in India, in which strict rules limit contact between castes, and there are elaborate rules for purifying the body if contact occurs. These may be the result, in part, of each group having specific immune behaviors tailored to its local pathogens, McNeill speculates, and the resulting need for a system that policed group boundaries.