Could a class delegate an interface to multiple implementations with a few lines? Given this interface:
interface Foo { fun doA() fun doB() }