protected function registerAlerts()
    {
        $this->app->singleton('alerts', function($app) {
            $config = $this->app['config']->get('cartalyst.alerts');

            $alerts = $this->app->make('Cartalyst\Alerts\Alerts');

            $viewNotifier  = new Notifier('view', $config['classes']);
            $flashNotifier = new FlashNotifier('flash', $config['classes'], $this->app['Cartalyst\Alerts\Storage\StorageInterface']);

            $alerts->addNotifier($viewNotifier);
            $alerts->addNotifier($flashNotifier);

            $alerts->setDefaultNotifier($config['default']);

            return $alerts;
        });
    }