Dispatcher class in the constructor arguments should be set accordingly