Re-implement directoryEntry