Make APIResult's data an option