I think `isDir` should be `isFolder` now.