Make the delegate ivar  a proper protocol delegate.