The `_addModelsToResource` function doesn't actually take the models argument