public static function init ($options = array())
    {
        Flight::map("render", function($template, $data, $toVar = false){
            Flight::view()->render($template, $data, $toVar);
        });

        Flight::register('view', get_called_class(), $options);
    }