Fixed event class reference in Plugin