Issue 125 Now you only have to pass in a function that takes two params to specify a cookie policy