+ added a skeleton for events dispatching.