Rename msg_decoder as decoder