Added documentation for groups functionality