clean_paths is deprecated.