Added runtime logging.