I submit to you a nicer import error.
Add tests for forward references.

Corbin told me this should work.