CXX-186 Add group command helper
CXX-186 Use StringData, improve comments, take refs