Finished Directory class.