The `replaceProvider` arg should also be added to the method's docs