DefaultRegistries bsRegistries = new DefaultRegistries( "bootstrap", loader, oidRegistry );
registries = bsRegistries;
Set<Schema> schemas = new HashSet<Schema>();
schemas.add( new SystemSchema() );
schemas.add( new ApacheSchema() );
schemas.add( new CoreSchema() );
loader.loadWithDependencies( schemas, bsRegistries );
attributeRegistry = registries.getAttributeTypeRegistry();
NameComponentNormalizer ncn = new ConcreteNameComponentNormalizer( attributeRegistry, oidRegistry );
visitor = new FilterNormalizingVisitor( ncn, registries );