$dirty: detect changes to objects