code: def add_eps(self, eps):
          
          # (nodeid, pred, label, args, lnk, surface, base)
          _nodeids, _eps, _vars = self._nodeids, self._eps, self._vars
          for ep in eps:
              try:
                  if not isinstance(ep, ElementaryPredication):
                      ep = ElementaryPredication(*ep)
              except TypeError:
                  raise XmrsError('Invalid EP data: {}'.format(repr(ep)))
              # eplen = len(ep)
              # if eplen < 3:
              #     raise XmrsError(
              #         'EPs must have length >= 3: (nodeid, pred, label, ...)'
              #     )
              nodeid, lbl = ep.nodeid, ep.label
              if nodeid in _eps:
                  raise XmrsError(
                      'EP already exists in Xmrs: {} ({})'
                      .format(nodeid, ep[1])
                  )
              _nodeids.append(nodeid)
              _eps[nodeid] = ep
              if lbl is not None:
                  _vars[lbl]['refs']['LBL'].append(nodeid)
              for role, val in ep.args.items():
                  # if the val is not in _vars, it might still be a
                  # variable; check with var_re
                  if val in _vars or var_re.match(val):
                      vardict = _vars[val]
                      vardict['refs'][role].append(nodeid)
docs: Incorporate the list of EPs given by *eps*.