set signature of directoryName method in DirectoryNamerInterface to match documentation