Remove destructuring in Cookie and SetCookie