cleanup Memo.scala