Added logging.
More logging.