Cookies

@s-panferov I think this handles everything.

cc @reem 
typo in crate