Larval transfer and the origins of larvae