Add more logging to modes.