diff --git a/src/ConverterBase.php b/src/ConverterBase.php
index 85f5460..33fee1b 100644
--- a/src/ConverterBase.php
+++ b/src/ConverterBase.php
@@ -63,7 +63,7 @@ abstract class ConverterBase extends PluginBase implements ConverterInterface {
       $has_logic->whitelist('t');
       $has_logic->whitelist('drupal_get_path');
 
-      $function = $indexer->get($hook)->get(0);
+      $function = $indexer->get($hook);
       if ($function->is($has_logic)) {
         throw new \LogicException('{target}_{hook} cannot be executed because it contains logic.');
       }
@@ -271,7 +271,7 @@ abstract class ConverterBase extends PluginBase implements ConverterInterface {
     /** @var \Pharborist\Functions\FunctionCallNode $call */
     foreach ($next as $call) {
       /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-      $function = $indexer->get($call->getName()->getText())->get(0);
+      $function = $indexer->get($call->getName()->getText());
 
       foreach ($call->getArguments() as $index => $argument) {
         if ($argument instanceof VariableNode && $argument->getName() == $parameter->getName()) {
diff --git a/src/Plugin/DMU/Analyzer/HookFormAlter.php b/src/Plugin/DMU/Analyzer/HookFormAlter.php
index dd00394..b4949cf 100644
--- a/src/Plugin/DMU/Analyzer/HookFormAlter.php
+++ b/src/Plugin/DMU/Analyzer/HookFormAlter.php
@@ -52,7 +52,7 @@ class HookFormAlter extends AnalyzerBase {
       $violations[] = $target
         ->open($alter_hook->file)
         ->find(Filter::isFunction($alter_hook->id))
-        ->get(0);
+        ;
     }
 
     $issues = [];
diff --git a/src/Plugin/DMU/Converter/Blocks.php b/src/Plugin/DMU/Converter/Blocks.php
index 8a57564..f6cc343 100644
--- a/src/Plugin/DMU/Converter/Blocks.php
+++ b/src/Plugin/DMU/Converter/Blocks.php
@@ -86,7 +86,7 @@ class Blocks extends ConverterBase {
     $function = $target
       ->getIndexer('function')
       ->get('hook_' . $hook)
-      ->get(0)
+
       ->setDocComment($this->buildFixMe(NULL, $variables, self::DOC_COMMENT));
 
     $target->save($function);
diff --git a/src/Plugin/DMU/Converter/EntityHooks.php b/src/Plugin/DMU/Converter/EntityHooks.php
index 20e606c..46561f4 100644
--- a/src/Plugin/DMU/Converter/EntityHooks.php
+++ b/src/Plugin/DMU/Converter/EntityHooks.php
@@ -65,7 +65,7 @@ class EntityHooks extends ConverterBase {
           $rewriter_id = '_rewriter:' . subStr($hook, 0, strrpos($hook, '_'));
         }
         $rewriter = $this->rewriters->createInstance($rewriter_id);
-        $this->rewriteFunction($rewriter, $indexer->get($hook)->get(0)->getParameterAtIndex($index), $target);
+        $this->rewriteFunction($rewriter, $indexer->get($hook)->getParameterAtIndex($index), $target);
       }
     }
     else {
diff --git a/src/Plugin/DMU/Converter/HookBoot.php b/src/Plugin/DMU/Converter/HookBoot.php
index 4d0bdd5..d59898f 100644
--- a/src/Plugin/DMU/Converter/HookBoot.php
+++ b/src/Plugin/DMU/Converter/HookBoot.php
@@ -37,7 +37,7 @@ class HookBoot extends ConverterBase {
     $target
       ->getIndexer('function')
       ->get('hook_boot')
-      ->get(0)
+
       ->cloneAsMethodOf($subscriber)
       ->setName('onEvent')
       ->appendParameter(ParameterNode::create('event')
diff --git a/src/Plugin/DMU/Converter/HookEntityInfo.php b/src/Plugin/DMU/Converter/HookEntityInfo.php
index fb77059..757b222 100644
--- a/src/Plugin/DMU/Converter/HookEntityInfo.php
+++ b/src/Plugin/DMU/Converter/HookEntityInfo.php
@@ -46,7 +46,7 @@ class HookEntityInfo extends ConverterBase {
         /** @var \Pharborist\Objects\ClassNode $controller */
         $indexer = $target->getIndexer('class');
         if ($indexer->has($entity_type['controller class'])) {
-          $controller = $indexer->get($entity_type['controller class'])->get(0);
+          $controller = $indexer->get($entity_type['controller class']);
 
           $parent = $controller->getExtends();
           if ($parent) {
diff --git a/src/Plugin/DMU/Converter/HookEntityTypeView.php b/src/Plugin/DMU/Converter/HookEntityTypeView.php
index 021dc13..8ba88fa 100644
--- a/src/Plugin/DMU/Converter/HookEntityTypeView.php
+++ b/src/Plugin/DMU/Converter/HookEntityTypeView.php
@@ -40,7 +40,7 @@ class HookEntityTypeView extends ConverterBase {
     $hooks = array_filter($this->pluginDefinition['hook'], [$indexer, 'has']);
     foreach ($hooks as $hook) {
       /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-      $function = $indexer->get($hook)->get(0);
+      $function = $indexer->get($hook);
       $function->prependParameter(ParameterNode::create('build')->setTypeHint('array')->setReference(TRUE));
 
       $entity_type = subStr($hook, 0, strrPos($hook, '_'));
diff --git a/src/Plugin/DMU/Converter/HookExit.php b/src/Plugin/DMU/Converter/HookExit.php
index d2e4bf2..7bd0232 100644
--- a/src/Plugin/DMU/Converter/HookExit.php
+++ b/src/Plugin/DMU/Converter/HookExit.php
@@ -35,7 +35,7 @@ class HookExit extends ConverterBase {
     $target
       ->getIndexer('function')
       ->get('hook_exit')
-      ->get(0)
+
       ->cloneAsMethodOf($subscriber)
       ->setName('onEvent');
     $this->writeClass($target, $subscriber);
diff --git a/src/Plugin/DMU/Converter/HookFieldAttachCreateBundle.php b/src/Plugin/DMU/Converter/HookFieldAttachCreateBundle.php
index 6505fc1..90a2982 100644
--- a/src/Plugin/DMU/Converter/HookFieldAttachCreateBundle.php
+++ b/src/Plugin/DMU/Converter/HookFieldAttachCreateBundle.php
@@ -21,7 +21,7 @@ class HookFieldAttachCreateBundle extends ConverterBase {
     $hook = $target
       ->getIndexer('function')
       ->get($this->pluginDefinition['hook'])
-      ->get(0)
+
       ->setName($target->id() . '_entity_bundle_create');
 
     $target->save($hook);
diff --git a/src/Plugin/DMU/Converter/HookFieldAttachDeleteBundle.php b/src/Plugin/DMU/Converter/HookFieldAttachDeleteBundle.php
index 726056f..5fe0ea1 100644
--- a/src/Plugin/DMU/Converter/HookFieldAttachDeleteBundle.php
+++ b/src/Plugin/DMU/Converter/HookFieldAttachDeleteBundle.php
@@ -30,7 +30,7 @@ class HookFieldAttachDeleteBundle extends ConverterBase {
     $hook = $target
       ->getIndexer('function')
       ->get($this->pluginDefinition['hook'])
-      ->get(0)
+
       ->before(DocCommentNode::create($this->pluginDefinition['fixme']));
 
     $target->save($hook);
diff --git a/src/Plugin/DMU/Converter/HookFieldAttachRenameBundle.php b/src/Plugin/DMU/Converter/HookFieldAttachRenameBundle.php
index 96f0cb6..74aa6e5 100644
--- a/src/Plugin/DMU/Converter/HookFieldAttachRenameBundle.php
+++ b/src/Plugin/DMU/Converter/HookFieldAttachRenameBundle.php
@@ -21,7 +21,7 @@ class HookFieldAttachRenameBundle extends ConverterBase {
     $hook = $target
       ->getIndexer('function')
       ->get($this->pluginDefinition['hook'])
-      ->get(0)
+
       ->setName($target->id() . '_entity_bundle_rename');
 
     $target->save($hook);
diff --git a/src/Plugin/DMU/Converter/HookInit.php b/src/Plugin/DMU/Converter/HookInit.php
index 6e9b8a1..0905f8d 100644
--- a/src/Plugin/DMU/Converter/HookInit.php
+++ b/src/Plugin/DMU/Converter/HookInit.php
@@ -35,7 +35,7 @@ class HookInit extends ConverterBase {
     $target
       ->getIndexer('function')
       ->get('hook_init')
-      ->get(0)
+
       ->cloneAsMethodOf($subscriber)
       ->setName('onEvent');
     $this->writeClass($target, $subscriber);
diff --git a/src/Plugin/DMU/Converter/HookNodePrepare.php b/src/Plugin/DMU/Converter/HookNodePrepare.php
index b622251..2add4eb 100644
--- a/src/Plugin/DMU/Converter/HookNodePrepare.php
+++ b/src/Plugin/DMU/Converter/HookNodePrepare.php
@@ -34,7 +34,7 @@ class HookNodePrepare extends ConverterBase {
    */
   public function convert(TargetInterface $target) {
     /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-    $function = $target->getIndexer('function')->get('hook_node_prepare')->get(0);
+    $function = $target->getIndexer('function')->get('hook_node_prepare');
 
     // foo_node_prepare() --> foo_node_prepare_form().
     $function->setName($function->getName() . '_form');
diff --git a/src/Plugin/DMU/Converter/HookURLOutboundAlter.php b/src/Plugin/DMU/Converter/HookURLOutboundAlter.php
index 9fcba65..f72a4d0 100644
--- a/src/Plugin/DMU/Converter/HookURLOutboundAlter.php
+++ b/src/Plugin/DMU/Converter/HookURLOutboundAlter.php
@@ -33,7 +33,7 @@ class HookURLOutboundAlter extends ConverterBase {
     $target
       ->getIndexer('function')
       ->get('hook_url_outbound_alter')
-      ->get(0)
+
       ->cloneAsMethodOf($processor)
       ->setName('processOutbound');
     $this->writeClass($target, $processor);
diff --git a/src/Plugin/DMU/Converter/HookUserLogin.php b/src/Plugin/DMU/Converter/HookUserLogin.php
index 86e7daa..9aba59b 100644
--- a/src/Plugin/DMU/Converter/HookUserLogin.php
+++ b/src/Plugin/DMU/Converter/HookUserLogin.php
@@ -35,7 +35,7 @@ class HookUserLogin extends ConverterBase {
    */
   public function convert(TargetInterface $target) {
     /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-    $function = $target->getIndexer('function')->get('hook_user_login')->get(0);
+    $function = $target->getIndexer('function')->get('hook_user_login');
     // The $edit parameter is defunct in Drupal 8, but we'll leave it in
     // there as an empty array to prevent errors, and move it to the back
     // of the line.
diff --git a/src/Plugin/DMU/Converter/Links.php b/src/Plugin/DMU/Converter/Links.php
index 307c993..1ea9982 100644
--- a/src/Plugin/DMU/Converter/Links.php
+++ b/src/Plugin/DMU/Converter/Links.php
@@ -69,7 +69,7 @@ class Links extends ConverterBase {
     // If the hook implementation contains logic, we cannot convert it and
     // that's that. So we'll leave a FIXME and bail out.
     /** @var \Pharborist\Functions\FunctionDeclarationNode $hook */
-    $hook = $target->getIndexer('function')->get('hook_menu')->get(0);
+    $hook = $target->getIndexer('function')->get('hook_menu');
     if ($hook->is(new ContainsLogicFilter)) {
       $hook->setDocComment(DocCommentNode::create($this->pluginDefinition['fixme']));
       $target->save($hook);
diff --git a/src/Plugin/DMU/Converter/Routing.php b/src/Plugin/DMU/Converter/Routing.php
index 575d2cc..d2e5081 100644
--- a/src/Plugin/DMU/Converter/Routing.php
+++ b/src/Plugin/DMU/Converter/Routing.php
@@ -59,7 +59,7 @@ class Routing extends ConverterBase {
     // If the hook implementation contains logic, we cannot convert it and
     // that's that. So we'll leave a FIXME and bail out.
     /** @var \Pharborist\Functions\FunctionDeclarationNode $hook */
-    $hook = $target->getIndexer('function')->get('hook_menu')->get(0);
+    $hook = $target->getIndexer('function')->get('hook_menu');
     if ($hook->is(new ContainsLogicFilter)) {
       $hook->setDocComment(DocCommentNode::create($this->pluginDefinition['fixme']));
       $target->save($hook);
diff --git a/src/Plugin/DMU/Converter/UserHooks.php b/src/Plugin/DMU/Converter/UserHooks.php
index f3b0584..98425dd 100644
--- a/src/Plugin/DMU/Converter/UserHooks.php
+++ b/src/Plugin/DMU/Converter/UserHooks.php
@@ -57,7 +57,7 @@ class UserHooks extends ConverterBase {
     $hooks = array_filter($this->pluginDefinition['hook'], [$indexer, 'has']);
     foreach ($hooks as $hook) {
       /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-      $function = $indexer->get($hook)->get(0);
+      $function = $indexer->get($hook);
       // The $edit parameter is defunct in Drupal 8, but we'll leave it in
       // there as an empty array to prevent errors, and move it to the back
       // of the line.
diff --git a/src/Plugin/DMU/Fixer/FormCallbackToMethod.php b/src/Plugin/DMU/Fixer/FormCallbackToMethod.php
index 6597764..a935e79 100644
--- a/src/Plugin/DMU/Fixer/FormCallbackToMethod.php
+++ b/src/Plugin/DMU/Fixer/FormCallbackToMethod.php
@@ -22,7 +22,7 @@ class FormCallbackToMethod extends FixerBase {
       ->target
       ->getIndexer('function')
       ->get($this->configuration['callback'])
-      ->get(0);
+      ;
 
     list ($class, $method_name) = explode('::', $this->configuration['destination']);
     /** @var \Pharborist\Objects\ClassNode $class */
@@ -30,7 +30,7 @@ class FormCallbackToMethod extends FixerBase {
       ->target
       ->getIndexer('class')
       ->get($class)
-      ->get(0);
+      ;
 
     $method = $callback->cloneAsMethodOf($class)->setName($method_name);
 
diff --git a/src/Plugin/DMU/Fixer/Implement.php b/src/Plugin/DMU/Fixer/Implement.php
index 924f416..d0a4fe2 100644
--- a/src/Plugin/DMU/Fixer/Implement.php
+++ b/src/Plugin/DMU/Fixer/Implement.php
@@ -24,7 +24,7 @@ class Implement extends FixerBase {
       ->target
       ->getIndexer('class')
       ->get($this->configuration['target'])
-      ->get(0);
+      ;
 
     // Use reflection to get the method definition.
     list ($interface, $method) = explode('::', $this->configuration['definition']);
diff --git a/src/Plugin/DMU/Fixer/PSR4.php b/src/Plugin/DMU/Fixer/PSR4.php
index dd5c956..6e8ade2 100644
--- a/src/Plugin/DMU/Fixer/PSR4.php
+++ b/src/Plugin/DMU/Fixer/PSR4.php
@@ -29,7 +29,7 @@ class PSR4 extends FixerBase {
       ->target
       ->getIndexer('class')
       ->get($this->configuration['source'])
-      ->get(0);
+      ;
 
     $ns = substr($this->configuration['destination'], 0, strrpos($this->configuration['destination'], '\\'));
     $doc = RootNode::create($ns);
diff --git a/src/Plugin/DMU/Routing/ContentRoute.php b/src/Plugin/DMU/Routing/ContentRoute.php
index 204f900..6a1bc30 100644
--- a/src/Plugin/DMU/Routing/ContentRoute.php
+++ b/src/Plugin/DMU/Routing/ContentRoute.php
@@ -97,7 +97,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
     if ($indexer->has($route['title callback'])) {
       $map->merge(new ParameterMap(
         $route->getPath(),
-        $indexer->get($route['title callback'])->get(0)->getParameters()->toArray(),
+        $indexer->get($route['title callback'])->getParameters()->toArray(),
         $route['title arguments']
       ));
     }
@@ -105,7 +105,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
     if ($indexer->has($route['access callback'])) {
       $map->merge(new ParameterMap(
         $route->getPath(),
-        $indexer->get($route['access callback'])->get(0)->getParameters()->toArray(),
+        $indexer->get($route['access callback'])->getParameters()->toArray(),
         $route['access arguments']
       ));
     }
@@ -113,7 +113,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
     if ($indexer->has($route['page callback'])) {
       $map->merge(new ParameterMap(
         $route->getPath(),
-        $indexer->get($route['page callback'])->get(0)->getParameters()->toArray(),
+        $indexer->get($route['page callback'])->getParameters()->toArray(),
         $route['page arguments']
       ));
     }
@@ -170,7 +170,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
     foreach ($map->toArray() as $function_name => $parameters) {
       if ($parameters && $indexer->has($function_name)) {
         /** @var \Pharborist\Functions\FunctionDeclarationNode $function */
-        $function = $indexer->get($function_name)->get(0);
+        $function = $indexer->get($function_name);
         foreach ($parameters as $parameter_name => $info) {
           $parameter = $function->getParameterByName($parameter_name)->setName($info['name'], TRUE);
           if (isset($info['type'])) {
@@ -185,7 +185,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
 
     $class_indexer = $target->getIndexer('class');
     if ($class_indexer->has('DefaultController')) {
-      $controller = $class_indexer->get('DefaultController')->get(0);
+      $controller = $class_indexer->get('DefaultController');
     }
     else {
       $controller = $this->getController($target, $route);
@@ -194,12 +194,12 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
 
     if ($indexer->has($route['title callback'])) {
       if (! $controller->hasMethod($route['title callback'])) {
-        $indexer->get($route['title callback'])->get(0)->cloneAsMethodOf($controller);
+        $indexer->get($route['title callback'])->cloneAsMethodOf($controller);
       }
     }
 
     if ($indexer->has($route['access callback'])) {
-      $func = $indexer->get($route['access callback'])->get(0);
+      $func = $indexer->get($route['access callback']);
 
       $returns = $func->find(Filter::isInstanceOf('\Pharborist\ReturnStatementNode'));
       foreach ($returns as $ret) {
@@ -223,7 +223,7 @@ class ContentRoute extends ConverterBase implements RouteConverterInterface, Con
 
     if ($indexer->has($route['page callback'])) {
       if (! $controller->hasMethod($route['page callback'])) {
-        $indexer->get($route['page callback'])->get(0)->cloneAsMethodOf($controller);
+        $indexer->get($route['page callback'])->cloneAsMethodOf($controller);
       }
     }
 
diff --git a/src/Plugin/DMU/Routing/FormRoute.php b/src/Plugin/DMU/Routing/FormRoute.php
index 62cff02..098a718 100644
--- a/src/Plugin/DMU/Routing/FormRoute.php
+++ b/src/Plugin/DMU/Routing/FormRoute.php
@@ -52,7 +52,7 @@ class FormRoute extends ContentRoute {
 
     $indexer = $target->getIndexer('function');
     if ($indexer->has($route['page arguments'][0])) {
-      $builder = $indexer->get($route['page arguments'][0])->get(0);
+      $builder = $indexer->get($route['page arguments'][0]);
       $parameters = $this->bumpKeys(array_slice($builder->getParameters()->toArray(), 2), 2);
       $arguments = $this->bumpKeys(array_slice($route['page arguments'], 1), 2);
       $map->merge(new ParameterMap($route->getPath(), $parameters, $arguments));
diff --git a/src/Routing/HookMenu.php b/src/Routing/HookMenu.php
index 04d980b..d001bcf 100644
--- a/src/Routing/HookMenu.php
+++ b/src/Routing/HookMenu.php
@@ -70,7 +70,7 @@ class HookMenu {
     // which will blow up on execution.
     $hook = $target->id() . '_menu';
     if (! function_exists($hook)) {
-      eval($target->getIndexer('hook')->get('menu')->get(0)->getText());
+      eval($target->getIndexer('hook')->get('menu')->getText());
     }
   }
 
diff --git a/src/Utility/FormConverter.php b/src/Utility/FormConverter.php
index 3ce066a..409b979 100644
--- a/src/Utility/FormConverter.php
+++ b/src/Utility/FormConverter.php
@@ -68,15 +68,15 @@ class FormConverter {
     $this->target = $target;
     $this->formID = $form_id;
 
-    $this->builder = $indexer->get($form_id)->get(0);
+    $this->builder = $indexer->get($form_id);
 
     $validator = $form_id . '_validate';
     if ($indexer->has($validator)) {
-      $this->validator = $indexer->get($validator)->get(0);
+      $this->validator = $indexer->get($validator);
     }
     $submit_handler = $form_id . '_submit';
     if ($indexer->has($submit_handler)) {
-      $this->submitHandler = $indexer->get($submit_handler)->get(0);
+      $this->submitHandler = $indexer->get($submit_handler);
     }
 
     $this->isConfig = $this->builder->has(Filter::isFunctionCall('system_settings_form'));
