Update generated files.
Remove unused import.
Improve wording of reference resolution failures.
Failing reference resolution is not an error, it shouldn't display a stacktrace.
Convert term to string to prevent string interpolation failing.
Only apply equality checks on the root term, no subterms.