added maximum number of messages and maximum message length to memos.