Fix decoding nil structs that implement Coder interface.