Custom discriminator for Account