Document new query interface