Fixed support for registering a promise as a data provider
Added support for passing in a render context as a arg, instead of just a writer