Can use `attributes.concat(names)` to avoid extra object allocation.