Added structured logging.