Sample code: Removed memwatcher references