Changing parse cookies, could probably write a shorter version with a
little thought.