Add cookies support.