Fix array map -> using core.Array api