Added method getEventGroups.