Remove use of existential types in DiscriminatorCodec