protected function getDefaultCommands()
    {
        $commands = parent::getDefaultCommands();
        foreach ($commands as $command) {
            if ('list' === $command->getName()) {
                if (method_exists($commands, 'setHidden')) {
                    $command->setHidden(true);
                } elseif (method_exists($command, 'setPrivate')) {
                    $commands->setPrivate(true);
                }
            }
        }

        return $commands;
    }