Set up getters and setters for cookies