private function processPasteTopWithoutReference(
        CollectionInterface $models,
        ModelIdInterface $after = null,
        ModelIdInterface $into = null,
        ModelIdInterface $parent = null
    ) {
        if ($models->count()
            && (($after && (0 === (int) $after->getId()))
                || ($into && (0 === (int) $into->getId())))
        ) {
            $manualSorting  = ViewHelpers::getManualSortingProperty($this->getEnvironment());
            $dataDefinition = $this->getEnvironment()->getDataDefinition();

            if (BasicDefinitionInterface::MODE_HIERARCHICAL === $dataDefinition->getBasicDefinition()->getMode()) {
                $this->relationshipManager->setAllRoot($models);
            }

            $this->pasteTop($models, $manualSorting, $parent);

            $this->triggerPostPasteModel($models);
            $this->clearModelCollection($models);
        }
    }