protected function handleProcedures(array $procedures)
    {
        /** @var Procedure $procedure */
        foreach ($procedures as $procedure) {
            $this->handleProcedureOuter($procedure);

            if ($procedure->hasChildren()) {
                $this->handleProcedures($procedure->getChildren());
            }
        }
    }