update for change in Ektorp related to TypeDiscriminator