Make pathToVisiblePart into a method.
Clean up and extend findMatchingCall and company.
Add Expr.searchTerms.