Add the group function to Array.

This will be used when a user sends JOIN.