Add group and type.