Refactoring the directory.