Added task numbers to the MesosSlaveStateObject.