In general, you can use the search bar in github to search for the method/function that you’re trying to call to see when it has changed.
I have not tried it myself, but it seems you might just need to call setDefaultOracle! instead of setDefaultOracle.