Detect changes properly.