Moved getTaskNumber to Parser, deleted getTaskNumber from Node.