Replace dispatcher with own dispatcher for example sake.