Remove generic from UseIdentity