Improved schema export.