Why are the MobileElement driver options not available?

Hi,

I am trying to create a PageObject class

I have a driver called driver which is of type AppiumDriver<MobileElement>

I want to use driver.findElementByXPath() but this MobileElement option is greyed out when I type driver.
Only the WebElement options are offered even though I have specified MobileElement.

Here is my code. What am I doing wrong?

public class xxxVerifyPage extends PageObject{

AppiumDriver<MobileElement> driver = FrameworkInitialize.driver;

public MobileElement verifyTitle = driver.xxx

Sorry ignore this it was user error!