Added minimal logging.