Check for changed attributes.