Interface for command pattern implementation.
Executes the command.
Optional
Optional event that triggered the command.
Interface for command pattern implementation.