Added management of external identities.