private function stackReflections()
    {
        foreach ($this->reflections as &$reflection) {
            foreach ($reflection['fields'] as &$field) {
                if (!empty($field['relatedToSection'])) {
                    if (isset($this->reflections[$field['relatedToSection']])) {
                        $field['sectionDetails'] = $this->reflections[$field['relatedToSection']];
                    }
                }
            }
        }
    }