Extend task API to support task by slug