This would basically make the `replaceProvider` argument obsolete, right? Or do we want to keep it?