remove EncodeNotThreadSafe (it's stupid)