Add a delegate.