Implemented event group functionality. Fixes #NX-1102