Updated header information and introduced destroy functions in sensors.