Removed unnecessary Directory::exists() method.