Add getter and setter for Model.