Implemented getEventGroups.