Move `Event::on()` to `Component::on()`.

Maybe remove Event::on() declaration and it connected.