ComponentsRegistry::loaded has been replaced with ComponentsRegistry::has