Shouldn't this pass in all the properties, rather than just `model` and `collection`? What if I have a model1 and model2?