Adds more logging.