Removing unneeded code from watch record.