Modified method to allow transformation of the newly initialized provider
Some refactors
More improvements when initialized providers without configuration