Started implementation of field serialisation for storage.