Adding cookie getter/setter from C. Schneider