Separated the definition of the tasks and their dependencies, to improve expandibility of classes inheriting from Annotator.