Add transient keyword to transient fields