Interfaces for events and commands