docs: def remove(self, pointer):
          """Remove element from sequence, member from mapping.
  
          :param pointer: the path to search in
          :return: resolved document
          :rtype: Target
          """
          doc = deepcopy(self.document)
          parent, obj = None, doc
          try:
              # fetching
              for token in Pointer(pointer):
                  parent, obj = obj, token.extract(obj, bypass_ref=True)
  
              # removing
              if isinstance(parent, Mapping):
                  del parent[token]
  
              if isinstance(parent, MutableSequence):
                  parent.pop(int(token))
          except Exception as error:
              raise Error(*error.args)
  
          return Target(doc)