Implement multipath queries.