protected function prepareInterfaces(array $interfaces)
    {
        \natcasesort($interfaces);

        // My kingdom for a generator.
        $ret = [];

        foreach ($interfaces as $name) {
            if ($this->showItem($name)) {
                $ret[$name] = [
                    'name'  => $name,
                    'style' => self::IS_CLASS,
                    'value' => $this->presentSignature($name),
                ];
            }
        }

        return $ret;
    }