An event emitter with hierarchies.