Recent theory suggests that social spiders evolved along a restricted pathway through solitary subsocial ancestors. In subsocial taxa, parents care for their young for some length of time. Allodapine bees vary greatly in their forms of sociality, from subsocial to highly eusocial. Most, if not all, embiopteran species are gregarious but subsocial. "L. riparia" are a subsocial earwig with complex maternal habits. They are subsocial (brood caring) beetles that live in groups within rotting logs or stumps. The subsocial species, however, appear to be crucial for the evolution of sociality in spiders. These roaches are subsocial, their young requiring considerable parental interaction.