I was thinking more about the problem I ran into with Java nio.Path inheriting from Iterable. I think there is good reason to believe this was a poor API design choice, so I was wondering if there was a way using Kotlin (such as extensions) to redefine Path so that it does not inherit from Iterable.