In theory, each gens functioned as a state within a state, governed by its own elders and assemblies, following its own customs, and carrying out its own religious rites. Certain cults were traditionally associated with specific gentes. The gentile assemblies had the responsibility of adoption and guardianship for their members.