Cookie class is now configurable