Removed unused param from addTask() method