Clean things up and add params["foo"]