Renamed Query to QueryManager.