Renamed the cookie and location functions and added this to the documentation.