implement DirectoryEntry