Use StateMap to store information about selected plugins.