Relocaition of method getQuery and quary atributte from IocButton to Request.