Kayan and Kenyah marry within their own classes. Marriage among commoners is often within the longhouse community, and first-cousin marriage is prohibited; bride-price is usually optional in lieu of bride-service. Residence is ambilocal. Among the aristocracy, marriage is usually outside the longhouse, and there is no bar to first-cousin marriage. An aristocrat male marries first an aristocrat female; after this he is free to marry polygynously a woman from any class. The children produced by such a marriage are of an intermediate class. Male offspring inherit gongs, weapons, and canoes; females inherit beads, though the value of shares is equal among all offspring.