add a cookie annotation