Add save methods to model.