A broader interest in children's toys and games coincided with the emergence of a middle class when fewer children were expected to work. The 18th-century attitude to toys was that they should educational. Accordingly, toymakers designed their products to prepare children for adult life. For example, a rocking-horse taught children to balance and prepared them for horse-riding. A doll prepared girls for motherhood and child-rearing while toy soldiers taught young boys about the military. Virtually, from the outset, commercially produced toys were remarkably gendered.