Using same interface for command handlers and event handlers