Chg: Save a bit of memory in getMessages.