Updates related to `Dir` class API changes.