Frijoles Negros (Cuban-Style Black Beans)

The secret of good black beans (and of many other Cuban dishes) is a slow-cooked sofrito of onions or scallions, garlic, and green peppers.