Serialisation work.