Make provider api independent of rtgov