Initial work for supporting multiple identities.