Removing unused directories.