init providers from Core.js [cherry picked]