Changed EncoderType to EncodingType