WIP groups: API addition

#2560 has been merged. You can safely remove this line.