Added groupchat functions.