docs: @Override
      public void delete() {
          //Remove links to relations and return them
          Set<Relation> relations = castingsInstance().map(casting -> {
              Relation relation = casting.getRelation();
              Role role = casting.getRole();
              relation.unassign(role, this);
              return relation;
          }).collect(toSet());
  
          vertex().tx().cache().removedInstance(type().id());
          deleteNode();
  
          relations.forEach(relation -> {
              if (relation.type().isImplicit()) {//For now implicit relations die
                  relation.delete();
              } else {
                  RelationImpl rel = (RelationImpl) relation;
                  rel.cleanUp();
              }
          });
      }