Removed dirs_only option since it broke the tests.