Added API to retrieve a group's controller.

Part of #1041