Rewrote the memo module.