private function fetchTypesView($view, $discussionId, Gdn_Pluggable $sender) {
		$out = '';
		$sender->Data['DiscussionTypes'] = [];
		foreach ($this->getAvailableDiscussionTypesPlugins() as $pluginSpec) {
			// If we are are in the context of a discussion, try to fetch the corresponding discussion type instance
			if (isset($discussionId)) {
				$typeModelClass = sprintf('%sModel', $pluginSpec['Index']);
				$typeName = $pluginSpec['DiscussionTypes']['Name'];
				$model = call_user_func(sprintf('%s::instance', $typeModelClass));
				$discussionTypeInstance = $model->GetWhere(['DiscussionID' => $discussionId]);
				if ($discussionTypeInstance->count()) {
					$sender->Data['DiscussionTypes'][$typeName] = $discussionTypeInstance->firstRow(DATASET_TYPE_ARRAY);
				} else {
					unset($sender->Data['DiscussionTypes'][$typeName]);
				}
			}

			// Render requested view
			$viewPath = sprintf( '%s/views/%s.php', $pluginSpec['PluginRoot'], $view );
			$out .= $sender->fetchView($viewPath);
		}

		return $out;
	}