Add basic cookies get method.