Directory services allow entities to be described through attribute-value pairs, known as attribute-based naming. Attributes can be used to search for entities like email messages that have attributes for sender, recipient, subject, etc. Discovery services register and lookup services in distributed systems through attributes. Jini discovery service uses multicast to locate lookup services and services register attributes with lookup services. The Global Name Service (GNS) provided a distributed directory system with a tree structure of directories and references to support resource location and email addressing across changing organizational structures.