Adding discovery proxy and dispatcher.