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.