API and functionality to attach labels to connections.