Extending the qds API to add scheduler support