Improvements on exporting. Schema function working for write|parse.