Moved completion functionnality back into Provider - fixes #44
Passing embed options to Provider's custom callbacks