Currently we encode directory information (type, name) in the `INode` class. This is technically incorrect and should be reflected as such.