An agreement where the principal or others agree to indemnify the surety for losses suffered under a bond issued on behalf of the principal.