Fixes incorrect class used to activate plugin