Some improvements on explicit serialization