Automatically add groups to dropdown.