Add ping event, change group management and other stuff.