public function getData(string $plugin = null)
    {
        /* Only get data for single plugin */
        if(! is_null($plugin)) {
            return $this->getPlugin($plugin)->getContainer()->getData();
        }

        /* Get data for all plugins */
        $data = [];
        foreach($this->plugins as $plugin) {
            $data[$plugin->getName()] = $plugin->getContainer()->getData();
        }
        return $data;
    }