Refactoring step: using IEnumerable<object> for message representation.