Adds cookie support