Introduce a helper method to assign the model, instead of performing this operation in the constructor.