Unified query object queries into a class.