Changed Expression.evaluate() and Location.select() signatures to accept NodeWithAncestors instead of Node.