Add a way to define the cookie policy.