Adding functionality around decoding incoming message