optional recursive querying support