Update for new way of exporting types from compiler