Corrected the use of cookies.