Add memwriter (untested)