The event dispatcher is now a mixin. This makes inheritance easier and multiple inheritance possible.