Add getter for groups in the descriptor.