Adds type enumeration to groups