erreonous Schema references removed from schema defs, properly called in initSchemas function