public static function reset($namespace = null, array $extensions = array())
    {
        self::$functions = array();
        foreach ($extensions as $extension) {
            foreach (\get_extension_funcs($extension) as $name) {
                self::evaluate($namespace, $name);
            }
        }
    }