docs in HostsContainer.__getitem__