code: def _add_new(self, host_object):
          i = self._get_insertion_point(host_object)
          for listed in self[i:]:
              if not listed.is_subdomain(host_object):
                  break
              self.hosts.pop(i)
          self.hosts.insert(i, host_object.to_unicode())