Fix conditional requirement for Encode.