Fixing everything that broke when the ews api changed