Moved PluginSuperclass detection into Plugin class