Not really sure there is much of an advantage.  I just noticed that you are now only adding one property instead of three, but I forget that putCodeAndMessage() will add more.  Nevermind then =)