Migrating on Kotlin M5