Added tools for dealing with cookies.