Updated and tidied codecs for silly flow-net business.