Finished up on serialisation/deserialisation. Needs testing.