Adding cookie setter.