Caste Society and Units of Production in Early Modern South India