make Codec fields public