Add a delegate for incoming/outgoing elements.