Save parameters with models