document LabelMap and friends