Added in progress Cookie impl from ch2.