public static function extract($array, array $paths, $default = null) {
        $found = array();
        foreach ($paths as $path) {
            static::set_path($found, $path, static::path($array, $path, $default));
        }

        return $found;
    }