Fix failure caused by extra plugin classes being added.