Implement GetCookies method