Remove refs to delegate.