Now with cookie support.