Allow the correct encode.