Added smart-restart system into Tasks.