docs: def remove(self):
          """Remove a target
  
          Raises a ``RuntimeError`` if the target does not exist.
          """
          session = client.get_client().create_session()
  
          if not self._base_query(session).count() > 0:
              session.close()
              raise RuntimeError("Target does not exist, name={:s}, params={:s}"
                                 "".format(self.name, self.params))
  
          # remove the target from the database
          self._base_query(session).delete()
          session.commit()
  
          session.close()