Remove `Appium.prototype.invoke` and replace it with `clearPreviousSession`?