Should we be able to declare whether to set in local or session storage here?