QueryPage interface getSession() returns ISession and setSession() takes ISession argument