Add memory driver to example.