Add logging to aid debugging (especially when interacting with ActiveSync)