Adding cookie class