excluded_dirs is deprecated