Added cookie method skelton. #3.