Fix page_class to work with Appium 1.0