Add a basic query object.