Directory class.