Use context only for logging.