[Core] Split messages into two types: addon and chat.