private function addPages($class, $path = 'notPath', $filter = '_')
    {
        $finder = new Finder();
        $finder->files()
            ->in($this->source)
            ->$path($filter)
            ->name('/\\.(md|textile|xml|twig)$/');

        foreach ($finder as $file)
        {
            $page = new $class($file, $this);

            // Skip drafts in production
            if ($this->app->isProduction() && $page->status === 'draft') {
                $this->app->writeln("Skipping draft: <info>{$page->sourcePath}/{$page->filename}</info>");
                continue;
            }

            $this->app->writeln("Adding: <info>{$page->sourcePath}/{$page->filename}</info>");
            $this->site->addContent($page);
        }
    }