Would be nice to quickly have the query type (str). For analysis filtering etc. I can do it on the fly but a bit inefficient.