Add multiple attribute support to Model::isDirty