Some minor refactorings in HummPlugins class