code: protected final void addSpouseAttribute(final ApiFamily newFamily,
              final ApiAttribute spouseAttribute) {
          if ("husband".equals(spouseAttribute.getType())) {
              newFamily.getSpouses().add(0, spouseAttribute);
          } else {
              newFamily.getSpouses().add(spouseAttribute);
          }
      }
docs: Add the spouses in husband/wife order.
  
  @param newFamily the family to modify
  @param spouseAttribute the spouse to add