Cookies

@s-panferov I think this handles everything.

cc @reem 
What do you mean "for re-parsing"?