Add definition for ModeMsg