Reusable code for MailChimp API functions.