Added a generic flux dispatcher