Implemented some methods for portions of Directory.