Adjusting to API change in schema-repository