Started writing the decoders etc.