Further improvement in exception serialization.