Now passes mem context when saving message.