Add missing encoding for new specs.