docs: def register_lookup(self, lookup):
          """Register lookup."""
          if lookup.operator in self._lookups:
              raise KeyError("Lookup for operator '{}' is already registered".format(lookup.operator))
  
          self._lookups[lookup.operator] = lookup()