Removes warning and adds a provider.