Added messageDef

I forgot to copy this over from Arush’s work