Separate compilation support.

Support exporting structs.