Assert that all imports and exports we process are at the top level.

Closes #35.