Added structured errors.