Allow encoding and decoding of parallelBy