Introduce mem package.