Fix typo in docs

Also, the attribute is `tasks` not `task`