Added attrs_with_changes method