Expose cookie handling.