Added support for event emitters.
Renaming to Bug.