Can set query flags, and static version.