Make non-serializable fields transient