Add functions to manipulate cookies.