Add api for tasks and taskareas