Deprecating DirectoryManager.