Add skeleton support for export.

WIP: export capabilities.