Decoding and upgrade support in types code. Tag for ignoring struct fields