Renamed "val". Accessing the cookie has been reduced by other changes, so I didn't move this to a static.