Fixed clean_paths deprecated spec.