Account serialization.