Traditionally in many cuisines cumin or caraway seeds are added to dishes such as beans or cabbage for this reason.