Avoid serializing complex objects