Fix upload plugin: class Plugin use Event core class