Lots of the arguments that are passed to the various query_* functions accept only a limited set of long-ish strings. It's tedious to have all those values in the documentation. I should make a function that can return valid values for a given argument.