Pass in the config to the listener.