Add logic for publishing messages.
Add builders for events, exceptions and metrics.