Just use the query function, will be fine when the fix in the fileleak branch is merged.