Currently it cannot get plugins via a superclass, which causes issues when plugins only expose an interface but not their exact impl. This interface might also not extend Plugin, so the generic type should reflect this too.
Possible solutions:
- Do an
is check for each plugin instead of checking if classes are exactly equal, or use reflection in worst case