Fix the definition of the BasicTask.