State Machine: added documentation about events