def METHOD_NAME(self, id, ns, name, item):
    key = ns + id
    if key in self.types:
        return
    self.types[key] = (name, item)
    if name[:-1] == self.namespace.prefix:
        self.all.append((name, item))