Convert refs when loading multiple schemas into a single one.