Move getPluginNames() method to utils class