Refactoring using MemRef.
Refactoring using MemRef.
Refactoring using MemRef.
Refactoring using MemRef.
Refactoring using MemRef.