Using set for TopologyElement