schemas were not being properly exported