Added more methods to tasks model.