add EncodeNotThreadSafe()