Adding Missing stateChanged() in messages.