Change AppQueryInterface's some function to virtual