Added discriminator to version