Makes query function an settable option