This reverts commit d348f50dcf.
d348f50dcf
Implementation of the types and their (de-)serialisation via parity-codec.