Added public version of sensor struct