Refactoring to convert extension function to member

Is there a refactoring that will turn an extension function into a member function?
I cannot find it.

class Foo
fun Foo.bar() = println("Hello")

should refactor to

class Foo {
    fun bar() = println("Hello")
}

Currently no, please vote/follow https://youtrack.jetbrains.com/issue/KT-27996