Fix reference to encode/decode functions