Adding fix for transaction support during serialization.