Always provide for maintenance to cease on the death or remarriage of the recipient.  Also, specifically identify that the maintenance is income to the recipient and deductible to the payor.  Include a provision in any divorce agreement for the Court to retain jurisdiction in the event of bankruptcy.