Extensions.getRootArea().registerExtensionPoint("com.intellij.useScopeEnlarger", "com.intellij.psi.search.UseScopeEnlarger");
Extensions.getRootArea().registerExtensionPoint("com.intellij.languageInjector", "com.intellij.psi.LanguageInjector");
Extensions.getArea(project).registerExtensionPoint("com.intellij.multiHostInjector", "com.intellij.lang.injection.MultiHostInjector");
Extensions.getRootArea().registerExtensionPoint("com.intellij.codeInsight.containerProvider",
"com.intellij.codeInsight.ContainerProvider");
Extensions.getRootArea().getExtensionPoint("com.intellij.referencesSearch").registerExtension(new CachesBasedRefSearcher());
registerApplicationService(project, PsiReferenceService.class, new PsiReferenceServiceImpl());
registerApplicationService(project, JobLauncher.class, new JobLauncherImpl());
registerApplicationService(project, AsyncFutureFactory.class, new AsyncFutureFactoryImpl());
project.registerService(PsiSearchHelper.class, new PsiSearchHelperImpl(psiManager));
project.registerService(DumbService.class, new DumbServiceImpl(project));