Prevents encode/decode to be called statically.