Restore component and util grouping directories.