This change replaces `dataSource.createModel()` with `DataModel.extend().attachTo(dataSource)`. I don't understand why is this needed, when this patch is supposed to preserve backwards compatibility?

Is `dataSource.createModel()` covered by other tests to ensure it still works as intended?