Query by kind is much worse than I thought, though.