throw aai;
         }
         LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class);
-        SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);
+        SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");
         DupeTool dupeTool = new DupeTool(loaderFactory, schemaVersions);
         dupeTool.execute(args);
     }// end of main()
 
                }\r
                LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class);\r
                EdgeIngestor  edgeIngestor  = ctx.getBean(EdgeIngestor.class);\r
-               SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);\r
+               SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");\r
                run (loaderFactory, edgeIngestor, schemaVersions, args, true);\r
        }\r
        \r
 
                        throw aai;
                }
                LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class);
-               SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);
+               SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");
                SchemaMod schemaMod = new SchemaMod(loaderFactory, schemaVersions);
                schemaMod.execute(args);
 
 
                LoaderFactory loaderFactory   = ctx.getBean(LoaderFactory.class);
                EdgeIngestor   edgeIngestor   = ctx.getBean(EdgeIngestor.class);
                EdgeSerializer edgeSerializer = ctx.getBean(EdgeSerializer.class);
-               SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);
+               SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");
 
                MigrationControllerInternal internal = new MigrationControllerInternal(loaderFactory, edgeIngestor, edgeSerializer, schemaVersions);
 
 
                        throw aai;
                }
                LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class);
-               SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);
+               SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");
                String basePath = ctx.getEnvironment().getProperty("schema.uri.base.path");
 
                CommandLineDeleteArgs cArgs = new CommandLineDeleteArgs();
 
                        throw aai;
                }
                LoaderFactory loaderFactory = ctx.getBean(LoaderFactory.class);
-               SchemaVersions schemaVersions = ctx.getBean(SchemaVersions.class);
+               SchemaVersions schemaVersions = (SchemaVersions) ctx.getBean("schemaVersions");
                String basePath = ctx.getEnvironment().getProperty("schema.uri.base.path");
 
                CommandLineArgs cArgs = new CommandLineArgs();