Added hostgroup management.