This should not be public, and even though the method names are now consistent (both here and FileModuleRegistry), there's still the inconsistency between ModuleType and String (for type in the locateApplicationContext() method that already existed).