Fixed typo in DirectoryObjects#index