Monkeypatch to add scope as parameter