Implemented composable codec/encoder/decoder.