Fix initialization problems if SingletonProvider is already initialized.