Watch a scalar variable when setting value or deleting it