Replace BasePlugin class to IPlugin interface. All plugins shall implement this interface.