New API for managing cookies.
Simplified cookies API