Fix getting plugins.