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

...ation.