Changed Classloader usage inside ServiceRegistryImpl