bool operator<(NodeId const& o) const { return code() < o.code(); }
bool operator==(NodeId const& o) const { return code() == o.code(); }