Make the fields transient to avoid serializing them