Will this just return the modules for a certain type? In that case can we reword this to `getAvailableModulesForType`