Add doc param to model.save