Query is a trait, not a class.