Add some logging to help see where data is being changed.