`group` should also mixin `id` into `traits` automatically so that we can eliminate this line