Fixed loading of schema files