Fix up some endowment type