Define contract for message bag.