To meet the challenges of new ideas and foreign influences, religious and social institutions of India remained essentially the same but grew increasingly complex. Which of the following are examples of this trend?