Added fields and associated methods to the InternalMessage object