Promote nested element types to top-level.
Merge pull request #72 from square/jw/promote-nested-element-types

Promote nested element types to top-level.