Merged IdentityPool and GeneratedIdentityPool functionallity