Added method to get all hosts in a specific group.