api: use slice of unit options