Refactored emitting API for greater usability and readability