Add preparation for provider (bug 942361)

oh this is inside ``done()``. Hmm. I guess you don't need to return it.