add missing variant encoders